/src/scnlib/src/scn/impl.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright 2017 Elias Kosunen |
2 | | // |
3 | | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | | // you may not use this file except in compliance with the License. |
5 | | // You may obtain a copy of the License at |
6 | | // |
7 | | // https://www.apache.org/licenses/LICENSE-2.0 |
8 | | // |
9 | | // Unless required by applicable law or agreed to in writing, software |
10 | | // distributed under the License is distributed on an "AS IS" BASIS, |
11 | | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | | // See the License for the specific language governing permissions and |
13 | | // limitations under the License. |
14 | | // |
15 | | // This file is a part of scnlib: |
16 | | // https://github.com/eliaskosunen/scnlib |
17 | | |
18 | | #pragma once |
19 | | |
20 | | // Transitively includes <scn/scan.h> |
21 | | #include <scn/regex.h> |
22 | | #include <scn/xchar.h> |
23 | | |
24 | | #include <algorithm> |
25 | | #include <clocale> |
26 | | #include <cmath> |
27 | | #include <cwchar> |
28 | | #include <functional> |
29 | | #include <vector> |
30 | | |
31 | | #if SCN_HAS_BITOPS |
32 | | #include <bit> |
33 | | #elif SCN_MSVC |
34 | | #include <IntSafe.h> |
35 | | #include <intrin.h> |
36 | | #elif SCN_POSIX && !SCN_GCC_COMPAT |
37 | | |
38 | | SCN_CLANG_PUSH |
39 | | SCN_CLANG_IGNORE("-Wreserved-id-macro") |
40 | | #define _XOPEN_SOURCE 700 |
41 | | SCN_CLANG_POP |
42 | | |
43 | | #include <strings.h> |
44 | | #endif |
45 | | |
46 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
47 | | #include <regex> |
48 | | #if SCN_REGEX_BOOST_USE_ICU |
49 | | #error "Can't use the ICU with std::regex" |
50 | | #endif |
51 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
52 | | #include <boost/regex.hpp> |
53 | | #if SCN_REGEX_BOOST_USE_ICU |
54 | | #include <boost/regex/icu.hpp> |
55 | | #endif |
56 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
57 | | #include <re2/re2.h> |
58 | | #endif |
59 | | |
60 | | namespace scn { |
61 | | SCN_BEGIN_NAMESPACE |
62 | | |
63 | | ///////////////////////////////////////////////////////////////// |
64 | | // Private ranges stuff |
65 | | ///////////////////////////////////////////////////////////////// |
66 | | |
67 | | namespace ranges { |
68 | | |
69 | | template <typename R> |
70 | | using const_iterator_t = iterator_t<std::add_const_t<R>>; |
71 | | |
72 | | // Like std::ranges::distance, utilizing .position if available |
73 | | namespace detail::distance_ { |
74 | | struct fn { |
75 | | private: |
76 | | template <typename I, typename S> |
77 | | static constexpr auto impl(I i, S s, priority_tag<1>) |
78 | | -> decltype(s.position() - i.position()) |
79 | | { |
80 | | return s.position() - i.position(); |
81 | | } |
82 | | |
83 | | template <typename I, typename S> |
84 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
85 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
86 | 61.5k | { |
87 | 61.5k | return s - i; |
88 | 61.5k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<char const*, char const*>(char const*, char const*, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 86 | 59.0k | { | 87 | 59.0k | return s - i; | 88 | 59.0k | } |
std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 86 | 2.55k | { | 87 | 2.55k | return s - i; | 88 | 2.55k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >, scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >, scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>, scn::v4::detail::priority_tag<0ul>) |
89 | | |
90 | | template <typename I, typename S> |
91 | | static constexpr auto impl(I i, S s, priority_tag<0>) |
92 | | -> std::enable_if_t<!sized_sentinel_for<S, I>, iter_difference_t<I>> |
93 | 22 | { |
94 | 22 | iter_difference_t<I> counter{0}; |
95 | 44 | while (i != s) { |
96 | 22 | ++i; |
97 | 22 | ++counter; |
98 | 22 | } |
99 | 22 | return counter; |
100 | 22 | } Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(sized_sentinel_for<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::priority_tag<0ul>) std::__1::enable_if<!(sized_sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::impl<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 93 | 22 | { | 94 | 22 | iter_difference_t<I> counter{0}; | 95 | 44 | while (i != s) { | 96 | 22 | ++i; | 97 | 22 | ++counter; | 98 | 22 | } | 99 | 22 | return counter; | 100 | 22 | } |
|
101 | | |
102 | | public: |
103 | | template <typename I, typename S> |
104 | | constexpr auto operator()(I first, S last) const |
105 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
106 | | iter_difference_t<I>> |
107 | 61.5k | { |
108 | 61.5k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); |
109 | 61.5k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 107 | 59.0k | { | 108 | 59.0k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 59.0k | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 107 | 2.55k | { | 108 | 2.55k | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 2.55k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<char*> >)&&(sentinel_for<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >), scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<char*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*> >(std::__1::__wrap_iter<char*>, std::__1::__wrap_iter<char*>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Line | Count | Source | 107 | 22 | { | 108 | 22 | return fn::impl(std::move(first), std::move(last), priority_tag<0>{}); | 109 | 22 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<std::__1::__wrap_iter<wchar_t*> >)&&(sentinel_for<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >), scn::v4::ranges::incrementable_traits<std::__1::__wrap_iter<wchar_t*> >::difference_type>::type scn::v4::ranges::detail::distance_::fn::operator()<std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >(std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*>) const |
110 | | }; |
111 | | } // namespace detail::distance_ |
112 | | |
113 | | inline constexpr auto distance = detail::distance_::fn{}; |
114 | | |
115 | | namespace detail { |
116 | | template <typename I, typename = void> |
117 | | struct has_batch_advance : std::false_type {}; |
118 | | template <typename I> |
119 | | struct has_batch_advance<I, |
120 | | std::void_t<decltype(SCN_DECLVAL(I&).batch_advance( |
121 | | SCN_DECLVAL(std::ptrdiff_t)))>> : std::true_type { |
122 | | }; |
123 | | } // namespace detail |
124 | | |
125 | | // std::advance, utilizing .batch_advance if available |
126 | | namespace detail::advance_ { |
127 | | struct fn { |
128 | | private: |
129 | | template <typename T> |
130 | | static constexpr T abs(T t) |
131 | 201k | { |
132 | 201k | if (t < T{0}) { |
133 | 0 | return -t; |
134 | 0 | } |
135 | 201k | return t; |
136 | 201k | } |
137 | | |
138 | | template <typename I> |
139 | | static constexpr auto impl(I& i, iter_difference_t<I> n, priority_tag<1>) |
140 | | -> std::enable_if_t<has_batch_advance<I>::value> |
141 | | { |
142 | | i.batch_advance(n); |
143 | | } |
144 | | |
145 | | template <typename I> |
146 | | static constexpr auto impl_i_n(I& i, |
147 | | iter_difference_t<I> n, |
148 | | priority_tag<0>) |
149 | | -> std::enable_if_t<random_access_iterator<I>> |
150 | 171k | { |
151 | 171k | i += n; |
152 | 171k | } std::__1::enable_if<random_access_iterator<char const*>, void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 150 | 164k | { | 151 | 164k | i += n; | 152 | 164k | } |
std::__1::enable_if<random_access_iterator<wchar_t const*>, void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 150 | 6.44k | { | 151 | 6.44k | i += n; | 152 | 6.44k | } |
|
153 | | |
154 | | template <typename I> |
155 | | static constexpr auto impl_i_n(I& i, |
156 | | iter_difference_t<I> n, |
157 | | priority_tag<0>) |
158 | | -> std::enable_if_t<bidirectional_iterator<I> && |
159 | | !random_access_iterator<I>> |
160 | 4.21k | { |
161 | 4.21k | constexpr auto zero = iter_difference_t<I>{0}; |
162 | | |
163 | 4.21k | if (n > zero) { |
164 | 132 | while (n-- > zero) { |
165 | 66 | ++i; |
166 | 66 | } |
167 | 66 | } |
168 | 4.15k | else { |
169 | 4.15k | while (n++ < zero) { |
170 | 0 | --i; |
171 | 0 | } |
172 | 4.15k | } |
173 | 4.21k | } std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 1.67k | { | 161 | 1.67k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 1.67k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 1.67k | else { | 169 | 1.67k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 1.67k | } | 173 | 1.67k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 66 | { | 161 | 66 | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 66 | if (n > zero) { | 164 | 132 | while (n-- > zero) { | 165 | 66 | ++i; | 166 | 66 | } | 167 | 66 | } | 168 | 0 | else { | 169 | 0 | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 0 | } | 173 | 66 | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 160 | 2.47k | { | 161 | 2.47k | constexpr auto zero = iter_difference_t<I>{0}; | 162 | | | 163 | 2.47k | if (n > zero) { | 164 | 0 | while (n-- > zero) { | 165 | 0 | ++i; | 166 | 0 | } | 167 | 0 | } | 168 | 2.47k | else { | 169 | 2.47k | while (n++ < zero) { | 170 | 0 | --i; | 171 | 0 | } | 172 | 2.47k | } | 173 | 2.47k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(random_access_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) |
174 | | |
175 | | template <typename I> |
176 | | static constexpr auto impl_i_n(I& i, |
177 | | iter_difference_t<I> n, |
178 | | priority_tag<0>) |
179 | | -> std::enable_if_t<!bidirectional_iterator<I>> |
180 | 0 | { |
181 | 0 | while (n-- > iter_difference_t<I>{0}) { |
182 | 0 | ++i; |
183 | 0 | } |
184 | 0 | } Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::detail::priority_tag<0ul>) Unexecuted instantiation: std::__1::enable_if<!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), void>::type scn::v4::ranges::detail::advance_::fn::impl_i_n<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::detail::priority_tag<0ul>) |
185 | | |
186 | | template <typename I, typename S> |
187 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<2>) |
188 | | -> std::enable_if_t<std::is_assignable_v<I&, S>> |
189 | 2.04k | { |
190 | 2.04k | i = std::move(bound); |
191 | 2.04k | } _ZN3scn2v46ranges6detail8advance_2fn8impl_i_sIPKcS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 1.01k | { | 190 | 1.01k | i = std::move(bound); | 191 | 1.01k | } |
_ZN3scn2v46ranges6detail8advance_2fn8impl_i_sIPKwS7_EENSt3__19enable_ifIXsr3stdE15is_assignable_vIRT_T0_EEvE4typeESB_SC_NS0_6detail12priority_tagILm2EEE Line | Count | Source | 189 | 1.03k | { | 190 | 1.03k | i = std::move(bound); | 191 | 1.03k | } |
|
192 | | |
193 | | template <typename I, typename S> |
194 | | static constexpr auto impl_i_s(I& i, S bound, priority_tag<1>) |
195 | | -> std::enable_if_t<sized_sentinel_for<S, I>> |
196 | | { |
197 | | fn::impl_i_n(i, bound - i); |
198 | | } |
199 | | |
200 | | template <typename I, typename S> |
201 | | static constexpr void impl_i_s(I& i, S bound, priority_tag<0>) |
202 | 246 | { |
203 | 3.98k | while (i != bound) { |
204 | 3.73k | ++i; |
205 | 3.73k | } |
206 | 246 | } Unexecuted instantiation: void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 202 | 168 | { | 203 | 2.61k | while (i != bound) { | 204 | 2.44k | ++i; | 205 | 2.44k | } | 206 | 168 | } |
Unexecuted instantiation: void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) void scn::v4::ranges::detail::advance_::fn::impl_i_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::detail::priority_tag<0ul>) Line | Count | Source | 202 | 78 | { | 203 | 1.37k | while (i != bound) { | 204 | 1.29k | ++i; | 205 | 1.29k | } | 206 | 78 | } |
|
207 | | |
208 | | template <typename I, typename S> |
209 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
210 | | -> std::enable_if_t<sized_sentinel_for<S, I>, iter_difference_t<I>> |
211 | 100k | { |
212 | 100k | if (fn::abs(n) >= fn::abs(bound - i)) { |
213 | 102 | auto dist = bound - i; |
214 | 102 | fn::impl_i_s(i, bound, priority_tag<2>{}); |
215 | 102 | return dist; |
216 | 102 | } |
217 | 100k | fn::impl_i_n(i, n, priority_tag<1>{}); |
218 | 100k | return n; |
219 | 100k | } std::__1::enable_if<sized_sentinel_for<char const*, char const*>, scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<char const*, char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, char const*) Line | Count | Source | 211 | 100k | { | 212 | 100k | if (fn::abs(n) >= fn::abs(bound - i)) { | 213 | 102 | auto dist = bound - i; | 214 | 102 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 215 | 102 | return dist; | 216 | 102 | } | 217 | 100k | fn::impl_i_n(i, n, priority_tag<1>{}); | 218 | 100k | return n; | 219 | 100k | } |
Unexecuted instantiation: std::__1::enable_if<sized_sentinel_for<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) |
220 | | |
221 | | template <typename I, typename S> |
222 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
223 | | -> std::enable_if_t<bidirectional_iterator<I> && |
224 | | !sized_sentinel_for<S, I>, |
225 | | iter_difference_t<I>> |
226 | 4.67k | { |
227 | 4.67k | constexpr iter_difference_t<I> zero{0}; |
228 | 4.67k | iter_difference_t<I> counter{0}; |
229 | | |
230 | 4.67k | if (n < zero) { |
231 | 0 | do { |
232 | 0 | --i; |
233 | 0 | --counter; // Yes, really |
234 | 0 | } while (++n < zero && i != bound); |
235 | 0 | } |
236 | 4.67k | else { |
237 | 15.9k | while (n-- > zero && i != bound) { |
238 | 11.2k | ++i; |
239 | 11.2k | ++counter; |
240 | 11.2k | } |
241 | 4.67k | } |
242 | | |
243 | 4.67k | return counter; |
244 | 4.67k | } Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 226 | 3.64k | { | 227 | 3.64k | constexpr iter_difference_t<I> zero{0}; | 228 | 3.64k | iter_difference_t<I> counter{0}; | 229 | | | 230 | 3.64k | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 3.64k | else { | 237 | 12.1k | while (n-- > zero && i != bound) { | 238 | 8.46k | ++i; | 239 | 8.46k | ++counter; | 240 | 8.46k | } | 241 | 3.64k | } | 242 | | | 243 | 3.64k | return counter; | 244 | 3.64k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 226 | 1.03k | { | 227 | 1.03k | constexpr iter_difference_t<I> zero{0}; | 228 | 1.03k | iter_difference_t<I> counter{0}; | 229 | | | 230 | 1.03k | if (n < zero) { | 231 | 0 | do { | 232 | 0 | --i; | 233 | 0 | --counter; // Yes, really | 234 | 0 | } while (++n < zero && i != bound); | 235 | 0 | } | 236 | 1.03k | else { | 237 | 3.85k | while (n-- > zero && i != bound) { | 238 | 2.82k | ++i; | 239 | 2.82k | ++counter; | 240 | 2.82k | } | 241 | 1.03k | } | 242 | | | 243 | 1.03k | return counter; | 244 | 1.03k | } |
Unexecuted instantiation: std::__1::enable_if<(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) |
245 | | |
246 | | template <typename I, typename S> |
247 | | static constexpr auto impl_i_n_s(I& i, iter_difference_t<I> n, S bound) |
248 | | -> std::enable_if_t<!bidirectional_iterator<I> && |
249 | | !sized_sentinel_for<S, I>, |
250 | | iter_difference_t<I>> |
251 | 0 | { |
252 | 0 | constexpr iter_difference_t<I> zero{0}; |
253 | 0 | iter_difference_t<I> counter{0}; |
254 | |
|
255 | 0 | while (n-- > zero && i != bound) { |
256 | 0 | ++i; |
257 | 0 | ++counter; |
258 | 0 | } |
259 | |
|
260 | 0 | return counter; |
261 | 0 | } Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>))&&(!(sized_sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >))&&(!(sized_sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: std::__1::enable_if<(!(bidirectional_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>))&&(!(sized_sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::impl_i_n_s<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) |
262 | | |
263 | | public: |
264 | | template <typename I> |
265 | | constexpr auto operator()(I& i, iter_difference_t<I> n) const |
266 | | -> std::enable_if_t<input_or_output_iterator<I>> |
267 | 74.8k | { |
268 | 74.8k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); |
269 | 74.8k | } std::__1::enable_if<input_or_output_iterator<char const*>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 267 | 64.1k | { | 268 | 64.1k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 64.1k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 267 | 6.44k | { | 268 | 6.44k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 6.44k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Line | Count | Source | 267 | 1.67k | { | 268 | 1.67k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 1.67k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Line | Count | Source | 267 | 66 | { | 268 | 66 | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 66 | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Line | Count | Source | 267 | 2.47k | { | 268 | 2.47k | fn::impl_i_n(i, n, detail::priority_tag<1>{}); | 269 | 2.47k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
270 | | |
271 | | template <typename I, typename S> |
272 | | constexpr auto operator()(I& i, S bound) const |
273 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>> |
274 | 2.19k | { |
275 | 2.19k | fn::impl_i_s(i, bound, priority_tag<2>{}); |
276 | 2.19k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), void>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, char const*) const Line | Count | Source | 274 | 908 | { | 275 | 908 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 908 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 274 | 168 | { | 275 | 168 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 168 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), void>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, wchar_t const*) const Line | Count | Source | 274 | 1.03k | { | 275 | 1.03k | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 1.03k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), void>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 274 | 78 | { | 275 | 78 | fn::impl_i_s(i, bound, priority_tag<2>{}); | 276 | 78 | } |
|
277 | | |
278 | | template <typename I, typename S> |
279 | | constexpr auto operator()(I& i, iter_difference_t<I> n, S bound) const |
280 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
281 | | iter_difference_t<I>> |
282 | 105k | { |
283 | 105k | return n - fn::impl_i_n_s(i, n, bound); |
284 | 105k | } Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 282 | 3.64k | { | 283 | 3.64k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 3.64k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>)&&(sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), scn::v4::ranges::incrementable_traits<char const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<char const*, char const*>(char const*&, scn::v4::ranges::incrementable_traits<char const*>::difference_type, char const*) const Line | Count | Source | 282 | 100k | { | 283 | 100k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 100k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*&, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type, wchar_t const*) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>)&&(sentinel_for<scn::v4::ranges::default_sentinel_t, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>), scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator&, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type, scn::v4::ranges::default_sentinel_t) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) const Line | Count | Source | 282 | 1.03k | { | 283 | 1.03k | return n - fn::impl_i_n_s(i, n, bound); | 284 | 1.03k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >), scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type>::type scn::v4::ranges::detail::advance_::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >&, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) const |
285 | | }; |
286 | | } // namespace detail::advance_ |
287 | | |
288 | | inline constexpr auto advance = detail::advance_::fn{}; |
289 | | |
290 | | namespace next_impl { |
291 | | struct fn { |
292 | | template <typename I> |
293 | | constexpr auto operator()(I x) const |
294 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
295 | 271k | { |
296 | 271k | ++x; |
297 | 271k | return x; |
298 | 271k | } Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>) const Line | Count | Source | 295 | 2.71k | { | 296 | 2.71k | ++x; | 297 | 2.71k | return x; | 298 | 2.71k | } |
std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*>(char const*) const Line | Count | Source | 295 | 67.4k | { | 296 | 67.4k | ++x; | 297 | 67.4k | return x; | 298 | 67.4k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>) const Line | Count | Source | 295 | 1.79k | { | 296 | 1.79k | ++x; | 297 | 1.79k | return x; | 298 | 1.79k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*) const Line | Count | Source | 295 | 199k | { | 296 | 199k | ++x; | 297 | 199k | return x; | 298 | 199k | } |
|
299 | | |
300 | | template <typename I> |
301 | | constexpr auto operator()(I x, iter_difference_t<I> n) const |
302 | | -> std::enable_if_t<input_or_output_iterator<I>, I> |
303 | 70.6k | { |
304 | 70.6k | ranges::advance(x, n); |
305 | 70.6k | return x; |
306 | 70.6k | } std::__1::enable_if<input_or_output_iterator<char const*>, char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*>(char const*, scn::v4::ranges::incrementable_traits<char const*>::difference_type) const Line | Count | Source | 303 | 64.1k | { | 304 | 64.1k | ranges::advance(x, n); | 305 | 64.1k | return x; | 306 | 64.1k | } |
std::__1::enable_if<input_or_output_iterator<wchar_t const*>, wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*>(wchar_t const*, scn::v4::ranges::incrementable_traits<wchar_t const*>::difference_type) const Line | Count | Source | 303 | 6.44k | { | 304 | 6.44k | ranges::advance(x, n); | 305 | 6.44k | return x; | 306 | 6.44k | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<char>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >::difference_type) const std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::difference_type) const Line | Count | Source | 303 | 66 | { | 304 | 66 | ranges::advance(x, n); | 305 | 66 | return x; | 306 | 66 | } |
Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::incrementable_traits<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >::difference_type) const Unexecuted instantiation: std::__1::enable_if<input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::ranges::incrementable_traits<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >::difference_type) const |
307 | | |
308 | | template <typename I, typename S> |
309 | | constexpr auto operator()(I x, S bound) const |
310 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
311 | | I> |
312 | 2.19k | { |
313 | 2.19k | ranges::advance(x, bound); |
314 | 2.19k | return x; |
315 | 2.19k | } std::__1::enable_if<(input_or_output_iterator<char const*>)&&(sentinel_for<char const*, char const*>), char const*>::type scn::v4::ranges::next_impl::fn::operator()<char const*, char const*>(char const*, char const*) const Line | Count | Source | 312 | 908 | { | 313 | 908 | ranges::advance(x, bound); | 314 | 908 | return x; | 315 | 908 | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) const Line | Count | Source | 312 | 168 | { | 313 | 168 | ranges::advance(x, bound); | 314 | 168 | return x; | 315 | 168 | } |
std::__1::enable_if<(input_or_output_iterator<wchar_t const*>)&&(sentinel_for<wchar_t const*, wchar_t const*>), wchar_t const*>::type scn::v4::ranges::next_impl::fn::operator()<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) const Line | Count | Source | 312 | 1.03k | { | 313 | 1.03k | ranges::advance(x, bound); | 314 | 1.03k | return x; | 315 | 1.03k | } |
Unexecuted instantiation: std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) const std::__1::enable_if<(input_or_output_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >)&&(sentinel_for<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >), scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >::type scn::v4::ranges::next_impl::fn::operator()<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) const Line | Count | Source | 312 | 78 | { | 313 | 78 | ranges::advance(x, bound); | 314 | 78 | return x; | 315 | 78 | } |
|
316 | | |
317 | | template <typename I, typename S> |
318 | | constexpr auto operator()(I x, iter_difference_t<I> n, S bound) const |
319 | | -> std::enable_if_t<input_or_output_iterator<I> && sentinel_for<S, I>, |
320 | | I> |
321 | | { |
322 | | ranges::advance(x, n, bound); |
323 | | return x; |
324 | | } |
325 | | }; |
326 | | } // namespace next_impl |
327 | | |
328 | | inline constexpr next_impl::fn next{}; |
329 | | |
330 | | // prev, for forward_iterators |
331 | | namespace detail::prev_backtrack_ { |
332 | | struct fn { |
333 | | private: |
334 | | template <typename It> |
335 | | static constexpr auto impl(It it, It, priority_tag<2>) |
336 | | -> std::enable_if_t<bidirectional_iterator<It>, It> |
337 | | { |
338 | | --it; |
339 | | return it; |
340 | | } |
341 | | |
342 | | template <typename It> |
343 | | static constexpr auto impl(It it, It beg, priority_tag<1>) |
344 | | -> remove_cvref_t<decltype((void)beg.batch_advance(42), it)> |
345 | | { |
346 | | return beg.batch_advance(it.position() - 1); |
347 | | } |
348 | | |
349 | | template <typename It> |
350 | | static constexpr auto impl(It it, It beg, priority_tag<0>) |
351 | | -> std::enable_if_t<forward_iterator<It>, It> |
352 | | { |
353 | | SCN_EXPECT(it != beg); |
354 | | |
355 | | while (true) { |
356 | | auto tmp = beg; |
357 | | ++beg; |
358 | | if (beg == it) { |
359 | | return tmp; |
360 | | } |
361 | | } |
362 | | } |
363 | | |
364 | | public: |
365 | | template <typename It> |
366 | | constexpr auto operator()(It it, It beg) const |
367 | | -> decltype(fn::impl(it, beg, priority_tag<2>{})) |
368 | | { |
369 | | return fn::impl(it, beg, priority_tag<2>{}); |
370 | | } |
371 | | }; |
372 | | } // namespace detail::prev_backtrack_ |
373 | | |
374 | | inline constexpr auto prev_backtrack = detail::prev_backtrack_::fn{}; |
375 | | |
376 | | // operator<, for forward_iterators |
377 | | namespace detail::less_backtrack_ { |
378 | | struct fn { |
379 | | private: |
380 | | template <typename It> |
381 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<2>) |
382 | | -> decltype(static_cast<void>(lhs < rhs), true) |
383 | | { |
384 | | return lhs < rhs; |
385 | | } |
386 | | |
387 | | template <typename It> |
388 | | static constexpr auto impl(It lhs, It rhs, It, priority_tag<1>) |
389 | | -> decltype(static_cast<void>(lhs.position() < rhs.position()), true) |
390 | | { |
391 | | return lhs.position() < rhs.position(); |
392 | | } |
393 | | |
394 | | template <typename It> |
395 | | static constexpr auto impl(It lhs, It rhs, It beg, priority_tag<0>) |
396 | | -> std::enable_if_t<ranges::forward_iterator<It>, bool> |
397 | | { |
398 | | while (true) { |
399 | | if (beg == rhs) { |
400 | | return false; |
401 | | } |
402 | | if (beg == lhs) { |
403 | | return true; |
404 | | } |
405 | | ++beg; |
406 | | } |
407 | | } |
408 | | |
409 | | public: |
410 | | template <typename It> |
411 | | constexpr auto operator()(It lhs, It rhs, It beg) const |
412 | | -> decltype(fn::impl(lhs, rhs, beg, priority_tag<2>{})) |
413 | | { |
414 | | return fn::impl(lhs, rhs, beg, priority_tag<2>{}); |
415 | | } |
416 | | }; |
417 | | } // namespace detail::less_backtrack_ |
418 | | |
419 | | inline constexpr auto less_backtrack = detail::less_backtrack_::fn{}; |
420 | | |
421 | | } // namespace ranges |
422 | | |
423 | | ///////////////////////////////////////////////////////////////// |
424 | | // ASCII-only locale-free <cctype> |
425 | | ///////////////////////////////////////////////////////////////// |
426 | | |
427 | | namespace impl { |
428 | | inline constexpr std::array<bool, 256> is_ascii_space_lookup = { |
429 | | {false, false, false, false, false, false, false, false, false, true, |
430 | | true, true, true, true, false, false, false, false, false, false, |
431 | | false, false, false, false, false, false, false, false, false, false, |
432 | | false, false, true, false, false, false, false, false, false, false, |
433 | | false, false, false, false, false, false, false, false, false, false, |
434 | | false, false, false, false, false, false, false, false, false, false, |
435 | | false, false, false, false, false, false, false, false, false, false, |
436 | | false, false, false, false, false, false, false, false, false, false, |
437 | | false, false, false, false, false, false, false, false, false, false, |
438 | | false, false, false, false, false, false, false, false, false, false, |
439 | | false, false, false, false, false, false, false, false, false, false, |
440 | | false, false, false, false, false, false, false, false, false, false, |
441 | | false, false, false, false, false, false, false, false, false, false, |
442 | | false, false, false, false, false, false, false, false, false, false, |
443 | | false, false, false, false, false, false, false, false, false, false, |
444 | | false, false, false, false, false, false, false, false, false, false, |
445 | | false, false, false, false, false, false, false, false, false, false, |
446 | | false, false, false, false, false, false, false, false, false, false, |
447 | | false, false, false, false, false, false, false, false, false, false, |
448 | | false, false, false, false, false, false, false, false, false, false, |
449 | | false, false, false, false, false, false, false, false, false, false, |
450 | | false, false, false, false, false, false, false, false, false, false, |
451 | | false, false, false, false, false, false, false, false, false, false, |
452 | | false, false, false, false, false, false, false, false, false, false, |
453 | | false, false, false, false, false, false, false, false, false, false, |
454 | | false, false, false, false, false, false}}; |
455 | | |
456 | | constexpr bool is_ascii_space(char ch) noexcept |
457 | 38.7k | { |
458 | 38.7k | return is_ascii_space_lookup[static_cast<size_t>( |
459 | 38.7k | static_cast<unsigned char>(ch))]; |
460 | 38.7k | } |
461 | | |
462 | | constexpr bool is_ascii_space(wchar_t ch) noexcept |
463 | 0 | { |
464 | 0 | return ch == 0x20 || (ch >= 0x09 && ch <= 0x0d); |
465 | 0 | } |
466 | | |
467 | | constexpr bool is_ascii_char(char ch) noexcept |
468 | 538k | { |
469 | 538k | return static_cast<unsigned char>(ch) <= 127; |
470 | 538k | } |
471 | | |
472 | | constexpr bool is_ascii_char(wchar_t ch) noexcept |
473 | 4.14k | { |
474 | 4.14k | #if WCHAR_MIN < 0 |
475 | 4.14k | return ch >= 0 && ch <= 127; |
476 | | #else |
477 | | return ch <= 127; |
478 | | #endif |
479 | 4.14k | } |
480 | | |
481 | | constexpr bool is_ascii_char(char32_t cp) noexcept |
482 | 620k | { |
483 | 620k | return cp <= 127; |
484 | 620k | } |
485 | | |
486 | | ///////////////////////////////////////////////////////////////// |
487 | | // <bits> |
488 | | ///////////////////////////////////////////////////////////////// |
489 | | |
490 | | inline int count_trailing_zeroes(uint64_t val) |
491 | 0 | { |
492 | 0 | SCN_EXPECT(val != 0); |
493 | 0 | #if SCN_HAS_BITOPS |
494 | 0 | return std::countr_zero(val); |
495 | 0 | #elif SCN_GCC_COMPAT |
496 | 0 | return __builtin_ctzll(val); |
497 | 0 | #elif SCN_MSVC && SCN_WINDOWS_64BIT |
498 | 0 | DWORD ret{}; |
499 | 0 | _BitScanForward64(&ret, val); |
500 | 0 | return static_cast<int>(ret); |
501 | 0 | #elif SCN_MSVC && !SCN_WINDOWS_64BIT |
502 | 0 | DWORD ret{}; |
503 | 0 | if (_BitScanForward(&ret, static_cast<uint32_t>(val))) { |
504 | 0 | return static_cast<int>(ret); |
505 | 0 | } |
506 | 0 |
|
507 | 0 | _BitScanForward(&ret, static_cast<uint32_t>(val >> 32)); |
508 | 0 | return static_cast<int>(ret + 32); |
509 | 0 | #elif SCN_POSIX |
510 | 0 | return ::ctzll(val); |
511 | 0 | #else |
512 | 0 | #define SCN_HAS_BITS_CTZ 0 |
513 | 0 | SCN_EXPECT(false); |
514 | 0 | SCN_UNREACHABLE; |
515 | 0 | #endif |
516 | 0 | } |
517 | | |
518 | | #ifndef SCN_HAS_BITS_CTZ |
519 | | #define SCN_HAS_BITS_CTZ 1 |
520 | | #endif |
521 | | |
522 | | constexpr uint64_t has_zero_byte(uint64_t word) |
523 | 0 | { |
524 | 0 | return (word - 0x0101010101010101ull) & ~word & 0x8080808080808080ull; |
525 | 0 | } |
526 | | |
527 | | constexpr uint64_t has_byte_between(uint64_t word, uint8_t a, uint8_t b) |
528 | 0 | { |
529 | 0 | const auto m = static_cast<uint64_t>(a) - 1, |
530 | 0 | n = static_cast<uint64_t>(b) + 1; |
531 | 0 | return (((~0ull / 255 * (127 + (n)) - ((word) & ~0ull / 255 * 127)) & |
532 | 0 | ~(word) & |
533 | 0 | (((word) & ~0ull / 255 * 127) + ~0ull / 255 * (127 - (m)))) & |
534 | 0 | (~0ull / 255 * 128)); |
535 | 0 | } |
536 | | |
537 | | constexpr uint64_t has_byte_greater(uint64_t word, uint8_t n) |
538 | 34.0k | { |
539 | 34.0k | return (word + ~0ull / 255 * (127 - n) | word) & ~0ull / 255 * 128; |
540 | 34.0k | } |
541 | | |
542 | | inline size_t get_index_of_first_nonmatching_byte(uint64_t word) |
543 | 0 | { |
544 | 0 | word ^= 0x8080808080808080ull; |
545 | 0 | if (word == 0) { |
546 | 0 | return 8; |
547 | 0 | } |
548 | 0 | return static_cast<size_t>(count_trailing_zeroes(word)) / 8; |
549 | 0 | } |
550 | | |
551 | | inline size_t get_index_of_first_matching_byte(uint64_t word, uint64_t pattern) |
552 | 0 | { |
553 | 0 | constexpr auto mask = 0x7f7f7f7f7f7f7f7full; |
554 | 0 | auto input = word ^ pattern; |
555 | 0 | auto tmp = (input & mask) + mask; |
556 | 0 | tmp = ~(tmp | input | mask); |
557 | 0 | return static_cast<size_t>(count_trailing_zeroes(tmp)) / 8; |
558 | 0 | } |
559 | | |
560 | | constexpr uint32_t log2_fast(uint32_t val) |
561 | 0 | { |
562 | 0 | constexpr uint8_t lookup[] = {0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, |
563 | 0 | 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, |
564 | 0 | 24, 7, 19, 27, 23, 6, 26, 5, 4, 31}; |
565 | 0 |
|
566 | 0 | val |= val >> 1; |
567 | 0 | val |= val >> 2; |
568 | 0 | val |= val >> 4; |
569 | 0 | val |= val >> 8; |
570 | 0 | val |= val >> 16; |
571 | 0 |
|
572 | 0 | return static_cast<uint32_t>(lookup[(val * 0x07c4acddu) >> 27]); |
573 | 0 | } |
574 | | |
575 | | constexpr uint32_t log2_pow2_fast(uint32_t val) |
576 | 0 | { |
577 | 0 | constexpr uint8_t lookup[] = {0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, |
578 | 0 | 15, 25, 17, 4, 8, 31, 27, 13, 23, 21, 19, |
579 | 0 | 16, 7, 26, 12, 18, 6, 11, 5, 10, 9}; |
580 | 0 |
|
581 | 0 | return static_cast<uint32_t>(lookup[(val * 0x077cb531u) >> 27]); |
582 | 0 | } |
583 | | |
584 | | constexpr uint64_t byteswap(uint64_t val) |
585 | 0 | { |
586 | 0 | return (val & 0xFF00000000000000) >> 56 | (val & 0x00FF000000000000) >> 40 | |
587 | 0 | (val & 0x0000FF0000000000) >> 24 | (val & 0x000000FF00000000) >> 8 | |
588 | 0 | (val & 0x00000000FF000000) << 8 | (val & 0x0000000000FF0000) << 24 | |
589 | 0 | (val & 0x000000000000FF00) << 40 | (val & 0x00000000000000FF) << 56; |
590 | 0 | } |
591 | | |
592 | | ///////////////////////////////////////////////////////////////// |
593 | | // <function_ref> |
594 | | ///////////////////////////////////////////////////////////////// |
595 | | |
596 | | namespace fnref_detail { |
597 | | template <class T> |
598 | | inline constexpr auto select_param_type = [] { |
599 | | if constexpr (std::is_trivially_copyable_v<T>) { |
600 | | return detail::type_identity<T>(); |
601 | | } |
602 | | else { |
603 | | return std::add_rvalue_reference<T>(); |
604 | | } |
605 | | }; |
606 | | |
607 | | template <class T> |
608 | | using param_t = |
609 | | typename std::invoke_result_t<decltype(select_param_type<T>)>::type; |
610 | | |
611 | | template <typename Sig> |
612 | | struct qual_fn_sig; |
613 | | |
614 | | template <typename R, typename... Args> |
615 | | struct qual_fn_sig<R(Args...)> { |
616 | | using function = R(Args...); |
617 | | |
618 | | static constexpr bool is_noexcept = false; |
619 | | |
620 | | template <typename... T> |
621 | | static constexpr bool is_invocable_using = |
622 | | std::is_invocable_r_v<R, T..., Args...>; |
623 | | |
624 | | template <typename T> |
625 | | using cv = T; |
626 | | }; |
627 | | |
628 | | template <typename R, typename... Args> |
629 | | struct qual_fn_sig<R(Args...) noexcept> { |
630 | | using function = R(Args...); |
631 | | |
632 | | static constexpr bool is_noexcept = true; |
633 | | |
634 | | template <typename... T> |
635 | | static constexpr bool is_invocable_using = |
636 | | std::is_nothrow_invocable_r_v<R, T..., Args...>; |
637 | | |
638 | | template <typename T> |
639 | | using cv = T; |
640 | | }; |
641 | | |
642 | | template <typename R, typename... Args> |
643 | | struct qual_fn_sig<R(Args...) const> : qual_fn_sig<R(Args...)> { |
644 | | template <typename T> |
645 | | using cv = T const; |
646 | | }; |
647 | | |
648 | | template <typename R, typename... Args> |
649 | | struct qual_fn_sig<R(Args...) const noexcept> |
650 | | : qual_fn_sig<R(Args...) noexcept> { |
651 | | template <typename T> |
652 | | using cv = T const; |
653 | | }; |
654 | | |
655 | | struct base { |
656 | | union storage { |
657 | | constexpr storage() = default; |
658 | | |
659 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
660 | 130k | constexpr explicit storage(T* p) noexcept : m_p(p) |
661 | 130k | { |
662 | 130k | } _ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbcES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 2.88k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.88k | { | 662 | 2.88k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbDiES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 36.0k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 36.0k | { | 662 | 36.0k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 42.5k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 42.5k | { | 662 | 42.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 1.12k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.12k | { | 662 | 1.12k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 624 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 624 | { | 662 | 624 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 8 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 8 | { | 662 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 384 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 384 | { | 662 | 384 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 22 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 22 | { | 662 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 12 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 12 | { | 662 | 12 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 380 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 380 | { | 662 | 380 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 6 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 6 | { | 662 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 292 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 292 | { | 662 | 292 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 1.05k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.05k | { | 662 | 1.05k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2INSt3__110__not_fn_tINS1_12function_refIFbwES9_EEEETnPNS6_9enable_ifIXsr3stdE11is_object_vIT_EEvE4typeELPv0EEEPSD_ Line | Count | Source | 660 | 2.96k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.96k | { | 662 | 2.96k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_TnPNSQ_9enable_ifIXsr3stdE11is_object_vISS_EEvE4typeELPv0EEEPSS_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPSK_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vIS9_EEvE4typeELPv0EEEPS9_ Line | Count | Source | 660 | 3.64k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 3.64k | { | 662 | 3.64k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Line | Count | Source | 660 | 9.65k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 9.65k | { | 662 | 9.65k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_TnPNSN_9enable_ifIXsr3stdE11is_object_vISP_EEvE4typeELPv0EEEPSP_ Line | Count | Source | 660 | 688 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 688 | { | 662 | 688 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 506 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 506 | { | 662 | 506 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 17.2k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 17.2k | { | 662 | 17.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_TnPNSR_9enable_ifIXsr3stdE11is_object_vIST_EEvE4typeELPv0EEEPST_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_TnPNSS_9enable_ifIXsr3stdE11is_object_vISU_EEvE4typeELPv0EEEPSU_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 26 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 26 | { | 662 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_TnPNSO_9enable_ifIXsr3stdE11is_object_vISQ_EEvE4typeELPv0EEEPSQ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_TnPNSP_9enable_ifIXsr3stdE11is_object_vISR_EEvE4typeELPv0EEEPSR_ Line | Count | Source | 660 | 240 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 240 | { | 662 | 240 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEfEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 30 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 30 | { | 662 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 16 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 16 | { | 662 | 16 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEdEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Line | Count | Source | 660 | 228 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 228 | { | 662 | 228 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 20 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 20 | { | 662 | 20 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 486 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 486 | { | 662 | 486 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_RKNSE_12format_specsERT0_NSE_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEeEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPSL_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_TnPNSG_9enable_ifIXsr3stdE11is_object_vISI_EEvE4typeELPv0EEEPSI_ Line | Count | Source | 660 | 618 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 618 | { | 662 | 618 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_TnPNSE_9enable_ifIXsr3stdE11is_object_vISG_EEvE4typeELPv0EEEPSG_ Line | Count | Source | 660 | 2.91k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.91k | { | 662 | 2.91k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISE_EEvE4typeELPv0EEEPSE_ Line | Count | Source | 660 | 80 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 80 | { | 662 | 80 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 632 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 632 | { | 662 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 2.47k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 2.47k | { | 662 | 2.47k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 556 | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 556 | { | 662 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPSJ_ Line | Count | Source | 660 | 1.65k | constexpr explicit storage(T* p) noexcept : m_p(p) | 661 | 1.65k | { | 662 | 1.65k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_RT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPSM_ |
663 | | |
664 | | template <typename T, std::enable_if_t<std::is_object_v<T>>* = nullptr> |
665 | 8.72k | constexpr explicit storage(const T* p) noexcept : m_cp(p) |
666 | 8.72k | { |
667 | 8.72k | } Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 490 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 490 | { | 667 | 490 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 498 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 498 | { | 667 | 498 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 396 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 396 | { | 667 | 396 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 3.49k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 3.49k | { | 667 | 3.49k | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 228 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 228 | { | 667 | 228 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_TnPNSI_9enable_ifIXsr3stdE11is_object_vISK_EEvE4typeELPv0EEEPKSK_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS8_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_TnPNS7_9enable_ifIXsr3stdE11is_object_vISF_EEvE4typeELPv0EEEPKSF_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSF_9enable_ifIXsr3stdE11is_object_vISH_EEvE4typeELPv0EEEPKSH_ Line | Count | Source | 665 | 1.28k | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 1.28k | { | 667 | 1.28k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_TnPNSM_9enable_ifIXsr3stdE11is_object_vISO_EEvE4typeELPv0EEEPKSO_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_TnPNSK_9enable_ifIXsr3stdE11is_object_vISM_EEvE4typeELPv0EEEPKSM_ _ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 360 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 360 | { | 667 | 360 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_TnPNSJ_9enable_ifIXsr3stdE11is_object_vISL_EEvE4typeELPv0EEEPKSL_ Line | Count | Source | 665 | 210 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 210 | { | 667 | 210 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 558 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 558 | { | 667 | 558 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 180 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 180 | { | 667 | 180 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 516 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 516 | { | 667 | 516 | } |
_ZN3scn2v44impl12fnref_detail4base7storageC2IZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_TnPNSH_9enable_ifIXsr3stdE11is_object_vISJ_EEvE4typeELPv0EEEPKSJ_ Line | Count | Source | 665 | 502 | constexpr explicit storage(const T* p) noexcept : m_cp(p) | 666 | 502 | { | 667 | 502 | } |
|
668 | | |
669 | | template <typename F, |
670 | | std::enable_if_t<std::is_function_v<F>>* = nullptr> |
671 | | constexpr explicit storage(F* f) noexcept |
672 | | : m_fp(reinterpret_cast<decltype(m_fp)>(f)) |
673 | | { |
674 | | } |
675 | | |
676 | | void* m_p{nullptr}; |
677 | | const void* m_cp; |
678 | | void (*m_fp)(); |
679 | | }; |
680 | | |
681 | | template <typename T> |
682 | | static constexpr auto get(storage s) |
683 | 1.49M | { |
684 | 1.49M | if constexpr (std::is_const_v<T>) { |
685 | 640k | return static_cast<T*>(s.m_cp); |
686 | | } |
687 | 852k | else if constexpr (std::is_object_v<T>) { |
688 | 852k | return static_cast<T*>(s.m_p); |
689 | | } |
690 | | else { |
691 | | return reinterpret_cast<T*>(s.m_fp); |
692 | | } |
693 | 1.49M | } auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (char), bool (char)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 7.40k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 7.40k | else if constexpr (std::is_object_v<T>) { | 688 | 7.40k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.40k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlcE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (char32_t), bool (char32_t)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 655k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 655k | else if constexpr (std::is_object_v<T>) { | 688 | 655k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 655k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlcE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}>(scn::v4::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 53.2k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 53.2k | else if constexpr (std::is_object_v<T>) { | 688 | 53.2k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 53.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIcNS6_11char_traitsIcEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 1.12k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 1.12k | else if constexpr (std::is_object_v<T>) { | 688 | 1.12k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 1.12k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 908 | { | 684 | 908 | if constexpr (std::is_const_v<T>) { | 685 | 908 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 908 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.28k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 2.28k | else if constexpr (std::is_object_v<T>) { | 688 | 2.28k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.28k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 8 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 8 | else if constexpr (std::is_object_v<T>) { | 688 | 8 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 384 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 384 | else if constexpr (std::is_object_v<T>) { | 688 | 384 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 384 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlcE0_EEDaNS3_7storageE Line | Count | Source | 683 | 22 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 22 | else if constexpr (std::is_object_v<T>) { | 688 | 22 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 12 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 12 | else if constexpr (std::is_object_v<T>) { | 688 | 12 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 12 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 380 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 380 | else if constexpr (std::is_object_v<T>) { | 688 | 380 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 380 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 6 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6 | else if constexpr (std::is_object_v<T>) { | 688 | 6 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 292 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 292 | else if constexpr (std::is_object_v<T>) { | 688 | 292 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 292 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 14.9k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 14.9k | else if constexpr (std::is_object_v<T>) { | 688 | 14.9k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 14.9k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 13.8k | { | 684 | 13.8k | if constexpr (std::is_const_v<T>) { | 685 | 13.8k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 13.8k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.53k | { | 684 | 7.53k | if constexpr (std::is_const_v<T>) { | 685 | 7.53k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.53k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 595k | { | 684 | 595k | if constexpr (std::is_const_v<T>) { | 685 | 595k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 595k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.22k | { | 684 | 3.22k | if constexpr (std::is_const_v<T>) { | 685 | 3.22k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.22k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<std::__1::__not_fn_t<scn::v4::impl::function_ref<bool (wchar_t), bool (wchar_t)> > >(scn::v4::impl::fnref_detail::base::storage) Line | Count | Source | 683 | 6.84k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 6.84k | else if constexpr (std::is_object_v<T>) { | 688 | 6.84k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 6.84k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_lRKNSB_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNSA_9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEENS1_15take_width_viewINS9_ISF_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_iEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_iEUlwE_EEDaNS3_7storageE auto scn::v4::impl::fnref_detail::base::get<scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}>(scn::v4::impl::fnref_detail::base::storage)Line | Count | Source | 683 | 11.6k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 11.6k | else if constexpr (std::is_object_v<T>) { | 688 | 11.6k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 11.6k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESG_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEENS0_13scan_expectedINS6_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESE_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 16.1k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 16.1k | else if constexpr (std::is_object_v<T>) { | 688 | 16.1k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 16.1k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSD_EENS1_15take_width_viewINS9_ISD_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 712 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 712 | else if constexpr (std::is_object_v<T>) { | 688 | 712 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 712 | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.04k | { | 684 | 2.04k | if constexpr (std::is_const_v<T>) { | 685 | 2.04k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.04k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 876 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 876 | else if constexpr (std::is_object_v<T>) { | 688 | 876 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 876 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 24.7k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 24.7k | else if constexpr (std::is_object_v<T>) { | 688 | 24.7k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 24.7k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESS_NSQ_17basic_string_viewIcNSQ_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEENS1_15take_width_viewINSB_ISH_SI_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEST_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 28 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 28 | else if constexpr (std::is_object_v<T>) { | 688 | 28 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 28 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSF_EENS1_15take_width_viewINSB_ISF_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 244 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 244 | else if constexpr (std::is_object_v<T>) { | 688 | 244 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 244 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEfEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_EUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS1_14parse_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bEUlwE0_EEDaNS3_7storageE Line | Count | Source | 683 | 36 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 36 | else if constexpr (std::is_object_v<T>) { | 688 | 36 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 36 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 16 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 16 | else if constexpr (std::is_object_v<T>) { | 688 | 16 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 16 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEdEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 228 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 228 | else if constexpr (std::is_object_v<T>) { | 688 | 228 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 228 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 20 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 20 | else if constexpr (std::is_object_v<T>) { | 688 | 20 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 20 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Line | Count | Source | 683 | 486 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 486 | else if constexpr (std::is_object_v<T>) { | 688 | 486 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 486 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_RKNSD_12format_specsERT0_NSD_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RKNSC_12format_specsERT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEeEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNS0_6detail12format_specsERT0_NSQ_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS0_6detail12format_specsERT0_NSO_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E0_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 11.0k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 11.0k | else if constexpr (std::is_object_v<T>) { | 688 | 11.0k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 11.0k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 4.59k | { | 684 | 4.59k | if constexpr (std::is_const_v<T>) { | 685 | 4.59k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 4.59k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.07k | { | 684 | 2.07k | if constexpr (std::is_const_v<T>) { | 685 | 2.07k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.07k | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 33.7k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 33.7k | else if constexpr (std::is_object_v<T>) { | 688 | 33.7k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 33.7k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 7.12k | { | 684 | 7.12k | if constexpr (std::is_const_v<T>) { | 685 | 7.12k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 7.12k | } |
_ZN3scn2v44impl12fnref_detail4base3getIKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS6_12specs_helperEEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.07k | { | 684 | 2.07k | if constexpr (std::is_const_v<T>) { | 685 | 2.07k | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.07k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS6_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS6_9add_constIT_E4typeEEEEESD_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.74k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 2.74k | else if constexpr (std::is_object_v<T>) { | 688 | 2.74k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.74k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 632 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 632 | else if constexpr (std::is_object_v<T>) { | 688 | 632 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIcEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlcE_EEDaNS3_7storageE Line | Count | Source | 683 | 732 | { | 684 | 732 | if constexpr (std::is_const_v<T>) { | 685 | 732 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 732 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 3.93k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 3.93k | else if constexpr (std::is_object_v<T>) { | 688 | 3.93k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 3.93k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Line | Count | Source | 683 | 556 | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 556 | else if constexpr (std::is_object_v<T>) { | 688 | 556 | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS0_6detail10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE _ZN3scn2v44impl12fnref_detail4base3getIKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS0_6detail9fill_typeEbEUlwE_EEDaNS3_7storageE Line | Count | Source | 683 | 766 | { | 684 | 766 | if constexpr (std::is_const_v<T>) { | 685 | 766 | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | | else if constexpr (std::is_object_v<T>) { | 688 | | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 766 | } |
_ZN3scn2v44impl12fnref_detail4base3getIZNS1_24read_while_classic_spaceINS1_15take_width_viewINS6_INS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_EEDaNS3_7storageE Line | Count | Source | 683 | 2.13k | { | 684 | | if constexpr (std::is_const_v<T>) { | 685 | | return static_cast<T*>(s.m_cp); | 686 | | } | 687 | 2.13k | else if constexpr (std::is_object_v<T>) { | 688 | 2.13k | return static_cast<T*>(s.m_p); | 689 | | } | 690 | | else { | 691 | | return reinterpret_cast<T*>(s.m_fp); | 692 | | } | 693 | 2.13k | } |
Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE Unexecuted instantiation: _ZN3scn2v44impl12fnref_detail4base3getIZNS1_21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RT0_NSC_10locale_refEEUlRNS1_12float_readerIwEEDpOT_E_EEDaNS3_7storageE |
694 | | }; |
695 | | } // namespace fnref_detail |
696 | | |
697 | | template <typename Sig, |
698 | | typename = typename fnref_detail::qual_fn_sig<Sig>::function> |
699 | | class function_ref; |
700 | | |
701 | | template <typename Sig, typename R, typename... Args> |
702 | | class function_ref<Sig, R(Args...)> : fnref_detail::base { |
703 | | using signature = fnref_detail::qual_fn_sig<Sig>; |
704 | | |
705 | | template <typename T> |
706 | | using cv = typename signature::template cv<T>; |
707 | | template <typename T> |
708 | | using cvref = cv<T>&; |
709 | | static constexpr bool noex = signature::is_noexcept; |
710 | | |
711 | | template <typename... T> |
712 | | static constexpr bool is_invocable_using = |
713 | | signature::template is_invocable_using<T...>; |
714 | | |
715 | | using fwd_t = R(storage, fnref_detail::param_t<Args>...) noexcept(noex); |
716 | | |
717 | | public: |
718 | | template <typename F, |
719 | | std::enable_if_t<std::is_function_v<F> && |
720 | | is_invocable_using<F>>* = nullptr> |
721 | | /*implicit*/ function_ref(F* f) noexcept |
722 | | : m_fptr([](storage fn, |
723 | | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
724 | | if constexpr (std::is_void_v<R>) { |
725 | | get<F>(fn)(static_cast<decltype(args)>(args)...); |
726 | | } |
727 | | else { |
728 | | return get<F>(fn)(static_cast<decltype(args)>(args)...); |
729 | | } |
730 | | }), |
731 | | m_storage(f) |
732 | | { |
733 | | SCN_EXPECT(f != nullptr); |
734 | | } |
735 | | |
736 | | template <typename F, |
737 | | typename T = std::remove_reference_t<F>, |
738 | | std::enable_if_t<detail::is_not_self<F, function_ref> && |
739 | | !std::is_member_pointer_v<T> && |
740 | | is_invocable_using<cvref<T>>>* = nullptr> |
741 | | /*implicit*/ constexpr function_ref(F&& f) noexcept |
742 | 138k | : m_fptr([](storage fn, |
743 | 1.49M | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { |
744 | 1.49M | cvref<T> obj = *get<T>(fn); |
745 | 1.49M | if constexpr (std::is_void_v<R>) { |
746 | 64.9k | obj(static_cast<decltype(args)>(args)...); |
747 | | } |
748 | 1.42M | else { |
749 | 1.42M | return obj(static_cast<decltype(args)>(args)...); |
750 | 1.42M | } |
751 | 1.49M | }), _ZZN3scn2v44impl12function_refIFbcES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEcE_clESK_c Line | Count | Source | 743 | 7.40k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.40k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.40k | else { | 749 | 7.40k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.40k | } | 751 | 7.40k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES17_c _ZZN3scn2v44impl12function_refIFbDiES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEDiE_clESK_Di Line | Count | Source | 743 | 655k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 655k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 655k | else { | 749 | 655k | return obj(static_cast<decltype(args)>(args)...); | 750 | 655k | } | 751 | 655k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEcE_clES19_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v44impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 53.2k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 53.2k | cvref<T> obj = *get<T>(fn); | 745 | 53.2k | if constexpr (std::is_void_v<R>) { | 746 | 53.2k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 53.2k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEcE_clES11_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c Line | Count | Source | 743 | 1.12k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.12k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 1.12k | else { | 749 | 1.12k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.12k | } | 751 | 1.12k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 908 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 908 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 908 | else { | 749 | 908 | return obj(static_cast<decltype(args)>(args)...); | 750 | 908 | } | 751 | 908 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 2.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.28k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.28k | else { | 749 | 2.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.28k | } | 751 | 2.28k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEcE_clES1D_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEcE_clES1B_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEcE_clES1A_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Line | Count | Source | 743 | 384 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 384 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 384 | else { | 749 | 384 | return obj(static_cast<decltype(args)>(args)...); | 750 | 384 | } | 751 | 384 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEcE_clES12_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c _ZZN3scn2v44impl12function_refIFbcES3_EC1IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES10_c Line | Count | Source | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 380 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 380 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 380 | else { | 749 | 380 | return obj(static_cast<decltype(args)>(args)...); | 750 | 380 | } | 751 | 380 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 292 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 292 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 292 | else { | 749 | 292 | return obj(static_cast<decltype(args)>(args)...); | 750 | 292 | } | 751 | 292 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEcE_clES18_c Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEcE_clES16_c _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 14.9k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 14.9k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 14.9k | else { | 749 | 14.9k | return obj(static_cast<decltype(args)>(args)...); | 750 | 14.9k | } | 751 | 14.9k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 13.8k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 13.8k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 13.8k | else { | 749 | 13.8k | return obj(static_cast<decltype(args)>(args)...); | 750 | 13.8k | } | 751 | 13.8k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 7.53k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.53k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.53k | else { | 749 | 7.53k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.53k | } | 751 | 7.53k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 595k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 595k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 595k | else { | 749 | 595k | return obj(static_cast<decltype(args)>(args)...); | 750 | 595k | } | 751 | 595k | }), |
_ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES13_c Line | Count | Source | 743 | 3.22k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.22k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.22k | else { | 749 | 3.22k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.22k | } | 751 | 3.22k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di _ZZN3scn2v44impl12function_refIFbwES3_EC1INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ENKUlNS1_12fnref_detail4base7storageEwE_clESK_w Line | Count | Source | 743 | 6.84k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6.84k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 6.84k | else { | 749 | 6.84k | return obj(static_cast<decltype(args)>(args)...); | 750 | 6.84k | } | 751 | 6.84k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES17_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES12_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ENKUlNS1_12fnref_detail4base7storageEwE_clES19_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v44impl12function_refIFvDiES3_EC1IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ENKUlNS1_12fnref_detail4base7storageEDiE_clESO_Di Line | Count | Source | 743 | 11.6k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 11.6k | cvref<T> obj = *get<T>(fn); | 745 | 11.6k | if constexpr (std::is_void_v<R>) { | 746 | 11.6k | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | | else { | 749 | | return obj(static_cast<decltype(args)>(args)...); | 750 | | } | 751 | 11.6k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEDiE_clESX_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ENKUlNS1_12fnref_detail4base7storageEwE_clES11_w _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Line | Count | Source | 743 | 16.1k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 16.1k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 16.1k | else { | 749 | 16.1k | return obj(static_cast<decltype(args)>(args)...); | 750 | 16.1k | } | 751 | 16.1k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w Line | Count | Source | 743 | 712 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 712 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 712 | else { | 749 | 712 | return obj(static_cast<decltype(args)>(args)...); | 750 | 712 | } | 751 | 712 | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 2.04k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.04k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.04k | else { | 749 | 2.04k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.04k | } | 751 | 2.04k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 876 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 876 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 876 | else { | 749 | 876 | return obj(static_cast<decltype(args)>(args)...); | 750 | 876 | } | 751 | 876 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 24.7k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 24.7k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 24.7k | else { | 749 | 24.7k | return obj(static_cast<decltype(args)>(args)...); | 750 | 24.7k | } | 751 | 24.7k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ENKUlNS1_12fnref_detail4base7storageEwE_clES1D_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageEwE_clES1B_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 28 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 28 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 28 | else { | 749 | 28 | return obj(static_cast<decltype(args)>(args)...); | 750 | 28 | } | 751 | 28 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ENKUlNS1_12fnref_detail4base7storageEwE_clES1A_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Line | Count | Source | 743 | 244 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 244 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 244 | else { | 749 | 244 | return obj(static_cast<decltype(args)>(args)...); | 750 | 244 | } | 751 | 244 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEwE_clES12_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w _ZZN3scn2v44impl12function_refIFbwES3_EC1IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES10_w Line | Count | Source | 743 | 36 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 36 | else { | 749 | 36 | return obj(static_cast<decltype(args)>(args)...); | 750 | 36 | } | 751 | 36 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 16 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 16 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 16 | else { | 749 | 16 | return obj(static_cast<decltype(args)>(args)...); | 750 | 16 | } | 751 | 16 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Line | Count | Source | 743 | 228 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 228 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 228 | else { | 749 | 228 | return obj(static_cast<decltype(args)>(args)...); | 750 | 228 | } | 751 | 228 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 20 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 20 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 20 | else { | 749 | 20 | return obj(static_cast<decltype(args)>(args)...); | 750 | 20 | } | 751 | 20 | }), |
_ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Line | Count | Source | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ENKUlNS1_12fnref_detail4base7storageESG_SM_SN_E_clES1J_SG_SM_SN_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1E_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ENKUlNS1_12fnref_detail4base7storageESC_SJ_SL_E_clES1H_SC_SJ_SL_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES1C_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES11_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEDiE_clES18_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ENKUlNS1_12fnref_detail4base7storageEwE_clES18_w Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEDiE_clES16_Di Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ENKUlNS1_12fnref_detail4base7storageEwE_clES16_w _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ENKUlNS1_12fnref_detail4base7storageEDiE_clESY_Di Line | Count | Source | 743 | 11.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 11.0k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 11.0k | else { | 749 | 11.0k | return obj(static_cast<decltype(args)>(args)...); | 750 | 11.0k | } | 751 | 11.0k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEDiE_clES15_Di Line | Count | Source | 743 | 4.59k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 4.59k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 4.59k | else { | 749 | 4.59k | return obj(static_cast<decltype(args)>(args)...); | 750 | 4.59k | } | 751 | 4.59k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 2.07k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.07k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.07k | else { | 749 | 2.07k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.07k | } | 751 | 2.07k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ENKUlNS1_12fnref_detail4base7storageEDiE_clESW_Di Line | Count | Source | 743 | 33.7k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 33.7k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 33.7k | else { | 749 | 33.7k | return obj(static_cast<decltype(args)>(args)...); | 750 | 33.7k | } | 751 | 33.7k | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clES13_Di Line | Count | Source | 743 | 7.12k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 7.12k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 7.12k | else { | 749 | 7.12k | return obj(static_cast<decltype(args)>(args)...); | 750 | 7.12k | } | 751 | 7.12k | }), |
_ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES13_w Line | Count | Source | 743 | 2.07k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.07k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.07k | else { | 749 | 2.07k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.07k | } | 751 | 2.07k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di _ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ENKUlNS1_12fnref_detail4base7storageEDiE_clESU_Di Line | Count | Source | 743 | 2.74k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.74k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.74k | else { | 749 | 2.74k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.74k | } | 751 | 2.74k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 632 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 632 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 632 | else { | 749 | 632 | return obj(static_cast<decltype(args)>(args)...); | 750 | 632 | } | 751 | 632 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ _ZZN3scn2v44impl12function_refIFbcES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEcE_clES15_c Line | Count | Source | 743 | 732 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 732 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 732 | else { | 749 | 732 | return obj(static_cast<decltype(args)>(args)...); | 750 | 732 | } | 751 | 732 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 3.93k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.93k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 3.93k | else { | 749 | 3.93k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.93k | } | 751 | 3.93k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ Line | Count | Source | 743 | 556 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 556 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 556 | else { | 749 | 556 | return obj(static_cast<decltype(args)>(args)...); | 750 | 556 | } | 751 | 556 | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ENKUlNS1_12fnref_detail4base7storageES9_SE_SG_E_clES19_S9_SE_SG_ _ZZN3scn2v44impl12function_refIFbwES3_EC1IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEwE_clES15_w Line | Count | Source | 743 | 766 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 766 | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 766 | else { | 749 | 766 | return obj(static_cast<decltype(args)>(args)...); | 750 | 766 | } | 751 | 766 | }), |
_ZZN3scn2v44impl12function_refIFbDiES3_EC1IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ENKUlNS1_12fnref_detail4base7storageEDiE_clESZ_Di Line | Count | Source | 743 | 2.13k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.13k | cvref<T> obj = *get<T>(fn); | 745 | | if constexpr (std::is_void_v<R>) { | 746 | | obj(static_cast<decltype(args)>(args)...); | 747 | | } | 748 | 2.13k | else { | 749 | 2.13k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.13k | } | 751 | 2.13k | }), |
Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ Unexecuted instantiation: _ZZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC1IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ENKUlNS1_12fnref_detail4base7storageESB_SH_SI_E_clES1B_SB_SH_SI_ |
752 | 138k | m_storage(std::addressof(f)) |
753 | 138k | { |
754 | 138k | } _ZN3scn2v44impl12function_refIFbcES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 2.88k | : m_fptr([](storage fn, | 743 | 2.88k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.88k | cvref<T> obj = *get<T>(fn); | 745 | 2.88k | if constexpr (std::is_void_v<R>) { | 746 | 2.88k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.88k | } | 748 | 2.88k | else { | 749 | 2.88k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.88k | } | 751 | 2.88k | }), | 752 | 2.88k | m_storage(std::addressof(f)) | 753 | 2.88k | { | 754 | 2.88k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlcE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 36.0k | : m_fptr([](storage fn, | 743 | 36.0k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 36.0k | cvref<T> obj = *get<T>(fn); | 745 | 36.0k | if constexpr (std::is_void_v<R>) { | 746 | 36.0k | obj(static_cast<decltype(args)>(args)...); | 747 | 36.0k | } | 748 | 36.0k | else { | 749 | 36.0k | return obj(static_cast<decltype(args)>(args)...); | 750 | 36.0k | } | 751 | 36.0k | }), | 752 | 36.0k | m_storage(std::addressof(f)) | 753 | 36.0k | { | 754 | 36.0k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlcE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlcE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlcE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v44impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIcEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 42.5k | : m_fptr([](storage fn, | 743 | 42.5k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 42.5k | cvref<T> obj = *get<T>(fn); | 745 | 42.5k | if constexpr (std::is_void_v<R>) { | 746 | 42.5k | obj(static_cast<decltype(args)>(args)...); | 747 | 42.5k | } | 748 | 42.5k | else { | 749 | 42.5k | return obj(static_cast<decltype(args)>(args)...); | 750 | 42.5k | } | 751 | 42.5k | }), | 752 | 42.5k | m_storage(std::addressof(f)) | 753 | 42.5k | { | 754 | 42.5k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIcNS7_11char_traitsIcEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlcE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlcE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 1.12k | : m_fptr([](storage fn, | 743 | 1.12k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.12k | cvref<T> obj = *get<T>(fn); | 745 | 1.12k | if constexpr (std::is_void_v<R>) { | 746 | 1.12k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.12k | } | 748 | 1.12k | else { | 749 | 1.12k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.12k | } | 751 | 1.12k | }), | 752 | 1.12k | m_storage(std::addressof(f)) | 753 | 1.12k | { | 754 | 1.12k | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlcE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 490 | : m_fptr([](storage fn, | 743 | 490 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 490 | cvref<T> obj = *get<T>(fn); | 745 | 490 | if constexpr (std::is_void_v<R>) { | 746 | 490 | obj(static_cast<decltype(args)>(args)...); | 747 | 490 | } | 748 | 490 | else { | 749 | 490 | return obj(static_cast<decltype(args)>(args)...); | 750 | 490 | } | 751 | 490 | }), | 752 | 490 | m_storage(std::addressof(f)) | 753 | 490 | { | 754 | 490 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 624 | : m_fptr([](storage fn, | 743 | 624 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 624 | cvref<T> obj = *get<T>(fn); | 745 | 624 | if constexpr (std::is_void_v<R>) { | 746 | 624 | obj(static_cast<decltype(args)>(args)...); | 747 | 624 | } | 748 | 624 | else { | 749 | 624 | return obj(static_cast<decltype(args)>(args)...); | 750 | 624 | } | 751 | 624 | }), | 752 | 624 | m_storage(std::addressof(f)) | 753 | 624 | { | 754 | 624 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlcE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlcE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlcE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlcE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 8 | : m_fptr([](storage fn, | 743 | 8 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 8 | cvref<T> obj = *get<T>(fn); | 745 | 8 | if constexpr (std::is_void_v<R>) { | 746 | 8 | obj(static_cast<decltype(args)>(args)...); | 747 | 8 | } | 748 | 8 | else { | 749 | 8 | return obj(static_cast<decltype(args)>(args)...); | 750 | 8 | } | 751 | 8 | }), | 752 | 8 | m_storage(std::addressof(f)) | 753 | 8 | { | 754 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlcE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlcE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 384 | : m_fptr([](storage fn, | 743 | 384 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 384 | cvref<T> obj = *get<T>(fn); | 745 | 384 | if constexpr (std::is_void_v<R>) { | 746 | 384 | obj(static_cast<decltype(args)>(args)...); | 747 | 384 | } | 748 | 384 | else { | 749 | 384 | return obj(static_cast<decltype(args)>(args)...); | 750 | 384 | } | 751 | 384 | }), | 752 | 384 | m_storage(std::addressof(f)) | 753 | 384 | { | 754 | 384 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlcE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbcES3_EC2IZNS1_12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlcE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 22 | : m_fptr([](storage fn, | 743 | 22 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 22 | cvref<T> obj = *get<T>(fn); | 745 | 22 | if constexpr (std::is_void_v<R>) { | 746 | 22 | obj(static_cast<decltype(args)>(args)...); | 747 | 22 | } | 748 | 22 | else { | 749 | 22 | return obj(static_cast<decltype(args)>(args)...); | 750 | 22 | } | 751 | 22 | }), | 752 | 22 | m_storage(std::addressof(f)) | 753 | 22 | { | 754 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 12 | : m_fptr([](storage fn, | 743 | 12 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 12 | cvref<T> obj = *get<T>(fn); | 745 | 12 | if constexpr (std::is_void_v<R>) { | 746 | 12 | obj(static_cast<decltype(args)>(args)...); | 747 | 12 | } | 748 | 12 | else { | 749 | 12 | return obj(static_cast<decltype(args)>(args)...); | 750 | 12 | } | 751 | 12 | }), | 752 | 12 | m_storage(std::addressof(f)) | 753 | 12 | { | 754 | 12 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 380 | : m_fptr([](storage fn, | 743 | 380 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 380 | cvref<T> obj = *get<T>(fn); | 745 | 380 | if constexpr (std::is_void_v<R>) { | 746 | 380 | obj(static_cast<decltype(args)>(args)...); | 747 | 380 | } | 748 | 380 | else { | 749 | 380 | return obj(static_cast<decltype(args)>(args)...); | 750 | 380 | } | 751 | 380 | }), | 752 | 380 | m_storage(std::addressof(f)) | 753 | 380 | { | 754 | 380 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 6 | : m_fptr([](storage fn, | 743 | 6 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 6 | cvref<T> obj = *get<T>(fn); | 745 | 6 | if constexpr (std::is_void_v<R>) { | 746 | 6 | obj(static_cast<decltype(args)>(args)...); | 747 | 6 | } | 748 | 6 | else { | 749 | 6 | return obj(static_cast<decltype(args)>(args)...); | 750 | 6 | } | 751 | 6 | }), | 752 | 6 | m_storage(std::addressof(f)) | 753 | 6 | { | 754 | 6 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 292 | : m_fptr([](storage fn, | 743 | 292 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 292 | cvref<T> obj = *get<T>(fn); | 745 | 292 | if constexpr (std::is_void_v<R>) { | 746 | 292 | obj(static_cast<decltype(args)>(args)...); | 747 | 292 | } | 748 | 292 | else { | 749 | 292 | return obj(static_cast<decltype(args)>(args)...); | 750 | 292 | } | 751 | 292 | }), | 752 | 292 | m_storage(std::addressof(f)) | 753 | 292 | { | 754 | 292 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIcEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcS7_EEEERNS1_12float_readerIcEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlcE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlcE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 1.05k | : m_fptr([](storage fn, | 743 | 1.05k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.05k | cvref<T> obj = *get<T>(fn); | 745 | 1.05k | if constexpr (std::is_void_v<R>) { | 746 | 1.05k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.05k | } | 748 | 1.05k | else { | 749 | 1.05k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.05k | } | 751 | 1.05k | }), | 752 | 1.05k | m_storage(std::addressof(f)) | 753 | 1.05k | { | 754 | 1.05k | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 498 | : m_fptr([](storage fn, | 743 | 498 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 498 | cvref<T> obj = *get<T>(fn); | 745 | 498 | if constexpr (std::is_void_v<R>) { | 746 | 498 | obj(static_cast<decltype(args)>(args)...); | 747 | 498 | } | 748 | 498 | else { | 749 | 498 | return obj(static_cast<decltype(args)>(args)...); | 750 | 498 | } | 751 | 498 | }), | 752 | 498 | m_storage(std::addressof(f)) | 753 | 498 | { | 754 | 498 | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlcE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 396 | : m_fptr([](storage fn, | 743 | 396 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 396 | cvref<T> obj = *get<T>(fn); | 745 | 396 | if constexpr (std::is_void_v<R>) { | 746 | 396 | obj(static_cast<decltype(args)>(args)...); | 747 | 396 | } | 748 | 396 | else { | 749 | 396 | return obj(static_cast<decltype(args)>(args)...); | 750 | 396 | } | 751 | 396 | }), | 752 | 396 | m_storage(std::addressof(f)) | 753 | 396 | { | 754 | 396 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 3.49k | : m_fptr([](storage fn, | 743 | 3.49k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.49k | cvref<T> obj = *get<T>(fn); | 745 | 3.49k | if constexpr (std::is_void_v<R>) { | 746 | 3.49k | obj(static_cast<decltype(args)>(args)...); | 747 | 3.49k | } | 748 | 3.49k | else { | 749 | 3.49k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.49k | } | 751 | 3.49k | }), | 752 | 3.49k | m_storage(std::addressof(f)) | 753 | 3.49k | { | 754 | 3.49k | } |
_ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNKS1_25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlcE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 228 | : m_fptr([](storage fn, | 743 | 228 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 228 | cvref<T> obj = *get<T>(fn); | 745 | 228 | if constexpr (std::is_void_v<R>) { | 746 | 228 | obj(static_cast<decltype(args)>(args)...); | 747 | 228 | } | 748 | 228 | else { | 749 | 228 | return obj(static_cast<decltype(args)>(args)...); | 750 | 228 | } | 751 | 228 | }), | 752 | 228 | m_storage(std::addressof(f)) | 753 | 228 | { | 754 | 228 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbwES3_EC2INSt3__110__not_fn_tIS4_EES8_TnPNS6_9enable_ifIXaaaasr6detailE11is_not_selfIT_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSB_EEvE4typeELPv0EEEOSA_ Line | Count | Source | 742 | 2.96k | : m_fptr([](storage fn, | 743 | 2.96k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.96k | cvref<T> obj = *get<T>(fn); | 745 | 2.96k | if constexpr (std::is_void_v<R>) { | 746 | 2.96k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.96k | } | 748 | 2.96k | else { | 749 | 2.96k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.96k | } | 751 | 2.96k | }), | 752 | 2.96k | m_storage(std::addressof(f)) | 753 | 2.96k | { | 754 | 2.96k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESM_lRKNSC_9fill_typeEbEUlwE_SV_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSY_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_EUlDiE_SR_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESK_lRKNSB_9fill_typeEbEUlwE_ST_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEENS1_15take_width_viewINSA_ISG_SH_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_iEUlwE_SY_TnPNSQ_9enable_ifIXaaaasr6detailE11is_not_selfISS_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS10_EEvE4typeELPv0EEEOSS_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_iEUlwE_SQ_TnPNSI_9enable_ifIXaaaasr6detailE11is_not_selfISK_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSK_ _ZN3scn2v44impl12function_refIFvDiES3_EC2IZNS1_20calculate_text_widthIwEEmNSt3__117basic_string_viewIT_NS7_11char_traitsIS9_EEEEEUlDiE_SD_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfIS9_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSF_EEvE4typeELPv0EEEOS9_ Line | Count | Source | 742 | 3.64k | : m_fptr([](storage fn, | 743 | 3.64k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 3.64k | cvref<T> obj = *get<T>(fn); | 745 | 3.64k | if constexpr (std::is_void_v<R>) { | 746 | 3.64k | obj(static_cast<decltype(args)>(args)...); | 747 | 3.64k | } | 748 | 3.64k | else { | 749 | 3.64k | return obj(static_cast<decltype(args)>(args)...); | 750 | 3.64k | } | 751 | 3.64k | }), | 752 | 3.64k | m_storage(std::addressof(f)) | 753 | 3.64k | { | 754 | 3.64k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEENS0_13scan_expectedINS8_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESH_EUlDiE_SM_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSO_EEvE4typeELPv0EEEOSH_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS8_9add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNS8_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEENS0_13scan_expectedINS7_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbEUlwE_SP_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISF_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSF_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 742 | 9.65k | : m_fptr([](storage fn, | 743 | 9.65k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 9.65k | cvref<T> obj = *get<T>(fn); | 745 | 9.65k | if constexpr (std::is_void_v<R>) { | 746 | 9.65k | obj(static_cast<decltype(args)>(args)...); | 747 | 9.65k | } | 748 | 9.65k | else { | 749 | 9.65k | return obj(static_cast<decltype(args)>(args)...); | 750 | 9.65k | } | 751 | 9.65k | }), | 752 | 9.65k | m_storage(std::addressof(f)) | 753 | 9.65k | { | 754 | 9.65k | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSE_EENS1_15take_width_viewINSA_ISE_SE_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_iEUlwE_SV_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 688 | : m_fptr([](storage fn, | 743 | 688 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 688 | cvref<T> obj = *get<T>(fn); | 745 | 688 | if constexpr (std::is_void_v<R>) { | 746 | 688 | obj(static_cast<decltype(args)>(args)...); | 747 | 688 | } | 748 | 688 | else { | 749 | 688 | return obj(static_cast<decltype(args)>(args)...); | 750 | 688 | } | 751 | 688 | }), | 752 | 688 | m_storage(std::addressof(f)) | 753 | 688 | { | 754 | 688 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS7_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_lRKNS0_6detail9fill_typeEbEUlwE_SR_TnPNSF_9enable_ifIXaaaasr6detailE11is_not_selfISH_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 742 | 1.28k | : m_fptr([](storage fn, | 743 | 1.28k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.28k | cvref<T> obj = *get<T>(fn); | 745 | 1.28k | if constexpr (std::is_void_v<R>) { | 746 | 1.28k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.28k | } | 748 | 1.28k | else { | 749 | 1.28k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.28k | } | 751 | 1.28k | }), | 752 | 1.28k | m_storage(std::addressof(f)) | 753 | 1.28k | { | 754 | 1.28k | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 506 | : m_fptr([](storage fn, | 743 | 506 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 506 | cvref<T> obj = *get<T>(fn); | 745 | 506 | if constexpr (std::is_void_v<R>) { | 746 | 506 | obj(static_cast<decltype(args)>(args)...); | 747 | 506 | } | 748 | 506 | else { | 749 | 506 | return obj(static_cast<decltype(args)>(args)...); | 750 | 506 | } | 751 | 506 | }), | 752 | 506 | m_storage(std::addressof(f)) | 753 | 506 | { | 754 | 506 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 17.2k | : m_fptr([](storage fn, | 743 | 17.2k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 17.2k | cvref<T> obj = *get<T>(fn); | 745 | 17.2k | if constexpr (std::is_void_v<R>) { | 746 | 17.2k | obj(static_cast<decltype(args)>(args)...); | 747 | 17.2k | } | 748 | 17.2k | else { | 749 | 17.2k | return obj(static_cast<decltype(args)>(args)...); | 750 | 17.2k | } | 751 | 17.2k | }), | 752 | 17.2k | m_storage(std::addressof(f)) | 753 | 17.2k | { | 754 | 17.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_EUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEST_NSR_17basic_string_viewIcNSR_11char_traitsIcEEEEEUlwE_S12_TnPNSR_9enable_ifIXaaaasr6detailE11is_not_selfIST_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS14_EEvE4typeELPv0EEEOST_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEENS1_15take_width_viewINSC_ISI_SJ_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_bEUlwE0_S10_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS12_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_EUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEEUlwE_SU_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_bEUlwE0_SS_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 26 | : m_fptr([](storage fn, | 743 | 26 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 26 | cvref<T> obj = *get<T>(fn); | 745 | 26 | if constexpr (std::is_void_v<R>) { | 746 | 26 | obj(static_cast<decltype(args)>(args)...); | 747 | 26 | } | 748 | 26 | else { | 749 | 26 | return obj(static_cast<decltype(args)>(args)...); | 750 | 26 | } | 751 | 26 | }), | 752 | 26 | m_storage(std::addressof(f)) | 753 | 26 | { | 754 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESQ_NSO_17basic_string_viewIcNSO_11char_traitsIcEEEEEUlwE_SZ_TnPNSO_9enable_ifIXaaaasr6detailE11is_not_selfISQ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRS11_EEvE4typeELPv0EEEOSQ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSG_EENS1_15take_width_viewINSC_ISG_SG_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_bEUlwE0_SX_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSR_ Line | Count | Source | 742 | 240 | : m_fptr([](storage fn, | 743 | 240 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 240 | cvref<T> obj = *get<T>(fn); | 745 | 240 | if constexpr (std::is_void_v<R>) { | 746 | 240 | obj(static_cast<decltype(args)>(args)...); | 747 | 240 | } | 748 | 240 | else { | 749 | 240 | return obj(static_cast<decltype(args)>(args)...); | 750 | 240 | } | 751 | 240 | }), | 752 | 240 | m_storage(std::addressof(f)) | 753 | 240 | { | 754 | 240 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_fEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEEDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEEEUlwE_SR_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRST_EEvE4typeELPv0EEEOSI_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbwES3_EC2IZNS1_12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS1_14parse_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_bEUlwE0_SP_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSR_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 30 | : m_fptr([](storage fn, | 743 | 30 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 30 | cvref<T> obj = *get<T>(fn); | 745 | 30 | if constexpr (std::is_void_v<R>) { | 746 | 30 | obj(static_cast<decltype(args)>(args)...); | 747 | 30 | } | 748 | 30 | else { | 749 | 30 | return obj(static_cast<decltype(args)>(args)...); | 750 | 30 | } | 751 | 30 | }), | 752 | 30 | m_storage(std::addressof(f)) | 753 | 30 | { | 754 | 30 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 16 | : m_fptr([](storage fn, | 743 | 16 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 16 | cvref<T> obj = *get<T>(fn); | 745 | 16 | if constexpr (std::is_void_v<R>) { | 746 | 16 | obj(static_cast<decltype(args)>(args)...); | 747 | 16 | } | 748 | 16 | else { | 749 | 16 | return obj(static_cast<decltype(args)>(args)...); | 750 | 16 | } | 751 | 16 | }), | 752 | 16 | m_storage(std::addressof(f)) | 753 | 16 | { | 754 | 16 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_dEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Line | Count | Source | 742 | 228 | : m_fptr([](storage fn, | 743 | 228 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 228 | cvref<T> obj = *get<T>(fn); | 745 | 228 | if constexpr (std::is_void_v<R>) { | 746 | 228 | obj(static_cast<decltype(args)>(args)...); | 747 | 228 | } | 748 | 228 | else { | 749 | 228 | return obj(static_cast<decltype(args)>(args)...); | 750 | 228 | } | 751 | 228 | }), | 752 | 228 | m_storage(std::addressof(f)) | 753 | 228 | { | 754 | 228 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 20 | : m_fptr([](storage fn, | 743 | 20 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 20 | cvref<T> obj = *get<T>(fn); | 745 | 20 | if constexpr (std::is_void_v<R>) { | 746 | 20 | obj(static_cast<decltype(args)>(args)...); | 747 | 20 | } | 748 | 20 | else { | 749 | 20 | return obj(static_cast<decltype(args)>(args)...); | 750 | 20 | } | 751 | 20 | }), | 752 | 20 | m_storage(std::addressof(f)) | 753 | 20 | { | 754 | 20 | } |
_ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 486 | : m_fptr([](storage fn, | 743 | 486 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 486 | cvref<T> obj = *get<T>(fn); | 745 | 486 | if constexpr (std::is_void_v<R>) { | 746 | 486 | obj(static_cast<decltype(args)>(args)...); | 747 | 486 | } | 748 | 486 | else { | 749 | 486 | return obj(static_cast<decltype(args)>(args)...); | 750 | 486 | } | 751 | 486 | }), | 752 | 486 | m_storage(std::addressof(f)) | 753 | 486 | { | 754 | 486 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS0_6ranges18default_sentinel_tEEEEERNS1_12float_readerIwEENS1_15take_width_viewINSA_6detail9subrange_8subrangeIS9_SB_EEEENS6_10locale_refEESO_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISM_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESW_RKNS6_12format_specsERT0_SN_EUlSG_DpOT_E0_S1A_TnPNSU_9enable_ifIXaaaasr6detailE11is_not_selfISW_SP_Entsr3stdE19is_member_pointer_vIS15_E18is_invocable_usingIS16_EEvE4typeELPv0EEEOSW_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RKNS4_12format_specsERT0_SI_EUlSB_DpOT_E0_S15_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vIS10_E18is_invocable_usingIS11_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwS7_EEEERNS1_12float_readerIwEENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS7_S7_EEEENS0_6detail10locale_refEESM_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISJ_eEENS3_IDTclL_ZNSE_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESU_RKNSK_12format_specsERT0_SL_EUlSC_DpOT_E0_S18_TnPNSS_9enable_ifIXaaaasr6detailE11is_not_selfISU_SN_Entsr3stdE19is_member_pointer_vIS13_E18is_invocable_usingIS14_EEvE4typeELPv0EEEOSU_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE10read_specsISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RKNSF_12format_specsERT0_SG_EUlS9_DpOT_E0_S13_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISY_E18is_invocable_usingISZ_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS8_18default_sentinel_tEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESL_EUlDiE_SQ_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSS_EEvE4typeELPv0EEEOSL_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlDiE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS7_12specs_helperEEUlwE_SW_TnPNSM_9enable_ifIXaaaasr6detailE11is_not_selfISO_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSZ_EEvE4typeELPv0EEEOSO_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlDiE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_NS7_12specs_helperEEUlwE_SU_TnPNSK_9enable_ifIXaaaasr6detailE11is_not_selfISM_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSX_EEvE4typeELPv0EEEOSM_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_EUlDiE_SN_TnPNSG_9enable_ifIXaaaasr6detailE11is_not_selfISI_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSP_EEvE4typeELPv0EEEOSI_ Line | Count | Source | 742 | 618 | : m_fptr([](storage fn, | 743 | 618 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 618 | cvref<T> obj = *get<T>(fn); | 745 | 618 | if constexpr (std::is_void_v<R>) { | 746 | 618 | obj(static_cast<decltype(args)>(args)...); | 747 | 618 | } | 748 | 618 | else { | 749 | 618 | return obj(static_cast<decltype(args)>(args)...); | 750 | 618 | } | 751 | 618 | }), | 752 | 618 | m_storage(std::addressof(f)) | 753 | 618 | { | 754 | 618 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlDiE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 360 | : m_fptr([](storage fn, | 743 | 360 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 360 | cvref<T> obj = *get<T>(fn); | 745 | 360 | if constexpr (std::is_void_v<R>) { | 746 | 360 | obj(static_cast<decltype(args)>(args)...); | 747 | 360 | } | 748 | 360 | else { | 749 | 360 | return obj(static_cast<decltype(args)>(args)...); | 750 | 360 | } | 751 | 360 | }), | 752 | 360 | m_storage(std::addressof(f)) | 753 | 360 | { | 754 | 360 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSF_EEEEEENS0_13scan_expectedIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS7_12specs_helperEEUlwE_ST_TnPNSJ_9enable_ifIXaaaasr6detailE11is_not_selfISL_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSL_ Line | Count | Source | 742 | 210 | : m_fptr([](storage fn, | 743 | 210 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 210 | cvref<T> obj = *get<T>(fn); | 745 | 210 | if constexpr (std::is_void_v<R>) { | 746 | 210 | obj(static_cast<decltype(args)>(args)...); | 747 | 210 | } | 748 | 210 | else { | 749 | 210 | return obj(static_cast<decltype(args)>(args)...); | 750 | 210 | } | 751 | 210 | }), | 752 | 210 | m_storage(std::addressof(f)) | 753 | 210 | { | 754 | 210 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwSC_EEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESG_EUlDiE_SL_TnPNSE_9enable_ifIXaaaasr6detailE11is_not_selfISG_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSN_EEvE4typeELPv0EEEOSG_ Line | Count | Source | 742 | 2.91k | : m_fptr([](storage fn, | 743 | 2.91k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.91k | cvref<T> obj = *get<T>(fn); | 745 | 2.91k | if constexpr (std::is_void_v<R>) { | 746 | 2.91k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.91k | } | 748 | 2.91k | else { | 749 | 2.91k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.91k | } | 751 | 2.91k | }), | 752 | 2.91k | m_storage(std::addressof(f)) | 753 | 2.91k | { | 754 | 2.91k | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlDiE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 558 | : m_fptr([](storage fn, | 743 | 558 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 558 | cvref<T> obj = *get<T>(fn); | 745 | 558 | if constexpr (std::is_void_v<R>) { | 746 | 558 | obj(static_cast<decltype(args)>(args)...); | 747 | 558 | } | 748 | 558 | else { | 749 | 558 | return obj(static_cast<decltype(args)>(args)...); | 750 | 558 | } | 751 | 558 | }), | 752 | 558 | m_storage(std::addressof(f)) | 753 | 558 | { | 754 | 558 | } |
_ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNKS1_25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_NS7_12specs_helperEEUlwE_SR_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSU_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 180 | : m_fptr([](storage fn, | 743 | 180 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 180 | cvref<T> obj = *get<T>(fn); | 745 | 180 | if constexpr (std::is_void_v<R>) { | 746 | 180 | obj(static_cast<decltype(args)>(args)...); | 747 | 180 | } | 748 | 180 | else { | 749 | 180 | return obj(static_cast<decltype(args)>(args)...); | 750 | 180 | } | 751 | 180 | }), | 752 | 180 | m_storage(std::addressof(f)) | 753 | 180 | { | 754 | 180 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS7_18default_sentinel_tEEEEEDTclL_ZNS7_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ _ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_until_classic_spaceINSt3__117basic_string_viewIwNS7_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS7_9add_constIT_E4typeEEEEESE_EUlDiE_SJ_TnPNS7_9enable_ifIXaaaasr6detailE11is_not_selfISE_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSL_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 742 | 80 | : m_fptr([](storage fn, | 743 | 80 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 80 | cvref<T> obj = *get<T>(fn); | 745 | 80 | if constexpr (std::is_void_v<R>) { | 746 | 80 | obj(static_cast<decltype(args)>(args)...); | 747 | 80 | } | 748 | 80 | else { | 749 | 80 | return obj(static_cast<decltype(args)>(args)...); | 750 | 80 | } | 751 | 80 | }), | 752 | 80 | m_storage(std::addressof(f)) | 753 | 80 | { | 754 | 80 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 632 | : m_fptr([](storage fn, | 743 | 632 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 632 | cvref<T> obj = *get<T>(fn); | 745 | 632 | if constexpr (std::is_void_v<R>) { | 746 | 632 | obj(static_cast<decltype(args)>(args)...); | 747 | 632 | } | 748 | 632 | else { | 749 | 632 | return obj(static_cast<decltype(args)>(args)...); | 750 | 632 | } | 751 | 632 | }), | 752 | 632 | m_storage(std::addressof(f)) | 753 | 632 | { | 754 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKcEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIcE16forward_iteratorEEERNS1_12float_readerIcEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIcE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ _ZN3scn2v44impl12function_refIFbcES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlcE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 516 | : m_fptr([](storage fn, | 743 | 516 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 516 | cvref<T> obj = *get<T>(fn); | 745 | 516 | if constexpr (std::is_void_v<R>) { | 746 | 516 | obj(static_cast<decltype(args)>(args)...); | 747 | 516 | } | 748 | 516 | else { | 749 | 516 | return obj(static_cast<decltype(args)>(args)...); | 750 | 516 | } | 751 | 516 | }), | 752 | 516 | m_storage(std::addressof(f)) | 753 | 516 | { | 754 | 516 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKcSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 2.47k | : m_fptr([](storage fn, | 743 | 2.47k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 2.47k | cvref<T> obj = *get<T>(fn); | 745 | 2.47k | if constexpr (std::is_void_v<R>) { | 746 | 2.47k | obj(static_cast<decltype(args)>(args)...); | 747 | 2.47k | } | 748 | 2.47k | else { | 749 | 2.47k | return obj(static_cast<decltype(args)>(args)...); | 750 | 2.47k | } | 751 | 2.47k | }), | 752 | 2.47k | m_storage(std::addressof(f)) | 753 | 2.47k | { | 754 | 2.47k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_fEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_dEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ Line | Count | Source | 742 | 556 | : m_fptr([](storage fn, | 743 | 556 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 556 | cvref<T> obj = *get<T>(fn); | 745 | 556 | if constexpr (std::is_void_v<R>) { | 746 | 556 | obj(static_cast<decltype(args)>(args)...); | 747 | 556 | } | 748 | 556 | else { | 749 | 556 | return obj(static_cast<decltype(args)>(args)...); | 750 | 556 | } | 751 | 556 | }), | 752 | 556 | m_storage(std::addressof(f)) | 753 | 556 | { | 754 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedIPKwEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS5_S5_EENS0_6detail10locale_refEESH_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISE_eEENS3_IDTclL_ZNSA_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_RT0_SG_EUlS9_DpOT_E_S10_TnPNSN_9enable_ifIXaaaasr6detailE11is_not_selfISP_SI_Entsr3stdE19is_member_pointer_vISV_E18is_invocable_usingISW_EEvE4typeELPv0EEEOSP_ _ZN3scn2v44impl12function_refIFbwES3_EC2IRKZNS1_9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS8_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_lRKNS0_6detail9fill_typeEbEUlwE_ST_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSW_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 502 | : m_fptr([](storage fn, | 743 | 502 | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 502 | cvref<T> obj = *get<T>(fn); | 745 | 502 | if constexpr (std::is_void_v<R>) { | 746 | 502 | obj(static_cast<decltype(args)>(args)...); | 747 | 502 | } | 748 | 502 | else { | 749 | 502 | return obj(static_cast<decltype(args)>(args)...); | 750 | 502 | } | 751 | 502 | }), | 752 | 502 | m_storage(std::addressof(f)) | 753 | 502 | { | 754 | 502 | } |
_ZN3scn2v44impl12function_refIFbDiES3_EC2IZNS1_24read_while_classic_spaceINS1_15take_width_viewINS7_INS0_6ranges6detail9subrange_8subrangeIPKwSD_EEEEEEEEDTclL_ZNS8_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESJ_EUlDiE_SO_TnPNSH_9enable_ifIXaaaasr6detailE11is_not_selfISJ_S4_Entsr3stdE19is_member_pointer_vIT0_E18is_invocable_usingIRSQ_EEvE4typeELPv0EEEOSJ_ Line | Count | Source | 742 | 1.65k | : m_fptr([](storage fn, | 743 | 1.65k | fnref_detail::param_t<Args>... args) noexcept(noex) -> R { | 744 | 1.65k | cvref<T> obj = *get<T>(fn); | 745 | 1.65k | if constexpr (std::is_void_v<R>) { | 746 | 1.65k | obj(static_cast<decltype(args)>(args)...); | 747 | 1.65k | } | 748 | 1.65k | else { | 749 | 1.65k | return obj(static_cast<decltype(args)>(args)...); | 750 | 1.65k | } | 751 | 1.65k | }), | 752 | 1.65k | m_storage(std::addressof(f)) | 753 | 1.65k | { | 754 | 1.65k | } |
Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_fEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_dEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ Unexecuted instantiation: _ZN3scn2v44impl12function_refIFNS0_13scan_expectedINS0_6detail17basic_scan_bufferIwE16forward_iteratorEEERNS1_12float_readerIwEENS0_6ranges6detail9subrange_8subrangeIS7_NSC_18default_sentinel_tEEENS4_10locale_refEESJ_EC2IZNS1_21reader_impl_for_floatIwE12read_defaultISH_eEENS3_IDTclL_ZNSC_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_RT0_SI_EUlSB_DpOT_E_S12_TnPNSP_9enable_ifIXaaaasr6detailE11is_not_selfISR_SK_Entsr3stdE19is_member_pointer_vISX_E18is_invocable_usingISY_EEvE4typeELPv0EEEOSR_ |
755 | | |
756 | | template <typename T, |
757 | | std::enable_if_t<detail::is_not_self<T, function_ref> && |
758 | | !std::is_pointer_v<T>>* = nullptr> |
759 | | function_ref& operator=(T) = delete; |
760 | | |
761 | | constexpr R operator()(Args... args) const noexcept(noex) |
762 | 1.49M | { |
763 | 1.49M | return m_fptr(m_storage, SCN_FWD(args)...); |
764 | 1.49M | } scn::v4::impl::function_ref<bool (char), bool (char)>::operator()(char) const Line | Count | Source | 762 | 21.3k | { | 763 | 21.3k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 21.3k | } |
scn::v4::impl::function_ref<bool (char32_t), bool (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 1.38M | { | 763 | 1.38M | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 1.38M | } |
scn::v4::impl::function_ref<void (char32_t), void (char32_t)>::operator()(char32_t) const Line | Count | Source | 762 | 64.9k | { | 763 | 64.9k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 64.9k | } |
Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref) const Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref) const scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > (scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 392 | { | 763 | 392 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 392 | } |
scn::v4::impl::function_ref<scn::v4::scan_expected<char const*> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref), scn::v4::scan_expected<char const*> (scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<char>&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 930 | { | 763 | 930 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 930 | } |
scn::v4::impl::function_ref<bool (wchar_t), bool (wchar_t)>::operator()(wchar_t) const Line | Count | Source | 762 | 14.8k | { | 763 | 14.8k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 14.8k | } |
Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, scn::v4::detail::locale_ref) const Unexecuted instantiation: scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::detail::locale_ref) const scn::v4::impl::function_ref<scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref), scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > (scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 244 | { | 763 | 244 | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 244 | } |
scn::v4::impl::function_ref<scn::v4::scan_expected<wchar_t const*> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref), scn::v4::scan_expected<wchar_t const*> (scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref)>::operator()(scn::v4::impl::float_reader<wchar_t>&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, scn::v4::detail::locale_ref) const Line | Count | Source | 762 | 1.06k | { | 763 | 1.06k | return m_fptr(m_storage, SCN_FWD(args)...); | 764 | 1.06k | } |
|
765 | | |
766 | | private: |
767 | | fwd_t* m_fptr{nullptr}; |
768 | | storage m_storage; |
769 | | }; |
770 | | |
771 | | template <typename F, std::enable_if_t<std::is_function_v<F>>* = nullptr> |
772 | | function_ref(F*) -> function_ref<F>; |
773 | | } // namespace impl |
774 | | |
775 | | ///////////////////////////////////////////////////////////////// |
776 | | // Internal error types |
777 | | ///////////////////////////////////////////////////////////////// |
778 | | |
779 | | namespace impl { |
780 | | enum class eof_error { good, eof }; |
781 | | |
782 | | inline constexpr bool operator!(eof_error e) |
783 | 52.8k | { |
784 | 52.8k | return e != eof_error::good; |
785 | 52.8k | } |
786 | | |
787 | | template <typename T> |
788 | | struct eof_expected : public expected<T, eof_error> { |
789 | | using base = expected<T, eof_error>; |
790 | | using base::base; |
791 | | |
792 | | constexpr eof_expected(const base& other) : base(other) {} |
793 | | constexpr eof_expected(base&& other) : base(SCN_MOVE(other)) {} |
794 | | }; |
795 | | |
796 | | inline constexpr auto make_eof_scan_error(eof_error err) |
797 | 354 | { |
798 | 354 | SCN_EXPECT(err == eof_error::eof); |
799 | 354 | return scan_error{scan_error::end_of_input, "EOF"}; |
800 | 354 | } |
801 | | |
802 | | struct SCN_TRIVIAL_ABI parse_error { |
803 | | enum code { good, eof, error }; |
804 | | using code_t = code; |
805 | | |
806 | | constexpr parse_error() = default; |
807 | 60.1k | constexpr parse_error(code c) : m_code(c) |
808 | 60.1k | { |
809 | 60.1k | SCN_UNLIKELY_ATTR SCN_UNUSED(m_code); |
810 | 60.1k | } |
811 | | |
812 | | constexpr explicit operator bool() const |
813 | 0 | { |
814 | 0 | return m_code == good; |
815 | 0 | } |
816 | | constexpr explicit operator code_t() const |
817 | 0 | { |
818 | 0 | return m_code; |
819 | 0 | } |
820 | | |
821 | | friend constexpr bool operator==(parse_error a, parse_error b) |
822 | 25.5k | { |
823 | 25.5k | return a.m_code == b.m_code; |
824 | 25.5k | } |
825 | | friend constexpr bool operator!=(parse_error a, parse_error b) |
826 | 5.05k | { |
827 | 5.05k | return !(a == b); |
828 | 5.05k | } |
829 | | |
830 | | private: |
831 | | code m_code{good}; |
832 | | }; |
833 | | |
834 | | template <typename T> |
835 | | struct parse_expected : public expected<T, parse_error> { |
836 | | using base = expected<T, parse_error>; |
837 | | using base::base; |
838 | | |
839 | | constexpr parse_expected(const base& other) : base(other) {} |
840 | | constexpr parse_expected(base&& other) : base(SCN_MOVE(other)) {} |
841 | | }; |
842 | | |
843 | | inline constexpr parse_error make_eof_parse_error(eof_error err) |
844 | 1.09k | { |
845 | 1.09k | SCN_EXPECT(err == eof_error::eof); |
846 | 1.09k | return parse_error::eof; |
847 | 1.09k | } |
848 | | |
849 | | inline constexpr scan_expected<void> make_scan_error_from_parse_error( |
850 | | parse_error err, |
851 | | enum scan_error::code code, |
852 | | const char* msg) |
853 | 5.05k | { |
854 | 5.05k | if (err == parse_error::good) { |
855 | 0 | return {}; |
856 | 0 | } |
857 | | |
858 | 5.05k | if (err == parse_error::eof) { |
859 | 142 | return detail::unexpected_scan_error(scan_error::end_of_input, "EOF"); |
860 | 142 | } |
861 | | |
862 | 4.91k | return detail::unexpected_scan_error(code, msg); |
863 | 5.05k | } |
864 | | |
865 | | inline constexpr auto map_parse_error_to_scan_error(enum scan_error::code code, |
866 | | const char* msg) |
867 | 5.09k | { |
868 | 5.09k | return [code, msg](parse_error err) { |
869 | 5.05k | assert(err != parse_error::good); |
870 | 5.05k | return make_scan_error_from_parse_error(err, code, msg).error(); |
871 | 5.05k | }; |
872 | 5.09k | } |
873 | | } // namespace impl |
874 | | |
875 | | namespace detail { |
876 | | template <typename T> |
877 | | struct is_expected_impl<scn::impl::parse_expected<T>> : std::true_type {}; |
878 | | } // namespace detail |
879 | | |
880 | | ///////////////////////////////////////////////////////////////// |
881 | | // Range reading support |
882 | | ///////////////////////////////////////////////////////////////// |
883 | | |
884 | | namespace impl { |
885 | | #if SCN_MSVC_DEBUG_ITERATORS |
886 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 1 |
887 | | #else |
888 | | #define SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND 0 |
889 | | #endif |
890 | | |
891 | | template <typename T> |
892 | | constexpr bool range_supports_nocopy() noexcept |
893 | | { |
894 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
895 | | return ranges::contiguous_range<T> || |
896 | | (ranges::random_access_range<T> && |
897 | | detail::can_make_address_from_iterator<ranges::iterator_t<T>>); |
898 | | #else |
899 | | return ranges::contiguous_range<T>; |
900 | | #endif |
901 | | } |
902 | | |
903 | | template <typename R> |
904 | | constexpr auto range_nocopy_data(const R& r) noexcept |
905 | | { |
906 | | static_assert(range_supports_nocopy<R>()); |
907 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
908 | | return detail::to_address(ranges::begin(r)); |
909 | | #else |
910 | | return ranges::data(r); |
911 | | #endif |
912 | | } |
913 | | |
914 | | template <typename R> |
915 | | constexpr auto range_nocopy_size(const R& r) noexcept |
916 | | { |
917 | | static_assert(range_supports_nocopy<R>()); |
918 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
919 | | return static_cast<size_t>(ranges::distance(detail::to_address(r.begin()), |
920 | | detail::to_address(r.end()))); |
921 | | #else |
922 | | return r.size(); |
923 | | #endif |
924 | | } |
925 | | |
926 | | template <typename I, typename S> |
927 | | SCN_NODISCARD constexpr bool is_range_eof(I begin, S end) |
928 | 1.11M | { |
929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND |
930 | | if constexpr (ranges::contiguous_iterator<I> || |
931 | | (ranges::random_access_iterator<I> && |
932 | | detail::can_make_address_from_iterator<I>)) { |
933 | | return detail::to_address(begin) == detail::to_address(end); |
934 | | } |
935 | | else |
936 | | #endif |
937 | 1.11M | { |
938 | 1.11M | return begin == end; |
939 | 1.11M | } |
940 | 1.11M | } Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 928 | 39.2k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 39.2k | { | 938 | 39.2k | return begin == end; | 939 | 39.2k | } | 940 | 39.2k | } |
bool scn::v4::impl::is_range_eof<char const*, char const*>(char const*, char const*) Line | Count | Source | 928 | 692k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 692k | { | 938 | 692k | return begin == end; | 939 | 692k | } | 940 | 692k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) bool scn::v4::impl::is_range_eof<wchar_t const*, wchar_t const*>(wchar_t const*, wchar_t const*) Line | Count | Source | 928 | 354k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 354k | { | 938 | 354k | return begin == end; | 939 | 354k | } | 940 | 354k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 928 | 18.3k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 18.3k | { | 938 | 18.3k | return begin == end; | 939 | 18.3k | } | 940 | 18.3k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>) Line | Count | Source | 928 | 6.41k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 6.41k | { | 938 | 6.41k | return begin == end; | 939 | 6.41k | } | 940 | 6.41k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>) Line | Count | Source | 928 | 3.78k | { | 929 | | #if SCN_NEED_MS_DEBUG_ITERATOR_WORKAROUND | 930 | | if constexpr (ranges::contiguous_iterator<I> || | 931 | | (ranges::random_access_iterator<I> && | 932 | | detail::can_make_address_from_iterator<I>)) { | 933 | | return detail::to_address(begin) == detail::to_address(end); | 934 | | } | 935 | | else | 936 | | #endif | 937 | 3.78k | { | 938 | 3.78k | return begin == end; | 939 | 3.78k | } | 940 | 3.78k | } |
|
941 | | |
942 | | template <typename Range> |
943 | | SCN_NODISCARD constexpr bool is_range_eof(Range r) |
944 | 792k | { |
945 | 792k | return is_range_eof(r.begin(), r.end()); |
946 | 792k | } Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 944 | 2.67k | { | 945 | 2.67k | return is_range_eof(r.begin(), r.end()); | 946 | 2.67k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 944 | 36.5k | { | 945 | 36.5k | return is_range_eof(r.begin(), r.end()); | 946 | 36.5k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 944 | 618k | { | 945 | 618k | return is_range_eof(r.begin(), r.end()); | 946 | 618k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 944 | 106k | { | 945 | 106k | return is_range_eof(r.begin(), r.end()); | 946 | 106k | } |
bool scn::v4::impl::is_range_eof<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 944 | 1.69k | { | 945 | 1.69k | return is_range_eof(r.begin(), r.end()); | 946 | 1.69k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 944 | 16.6k | { | 945 | 16.6k | return is_range_eof(r.begin(), r.end()); | 946 | 16.6k | } |
Unexecuted instantiation: bool scn::v4::impl::is_range_eof<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: bool scn::v4::impl::is_range_eof<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 944 | 6.41k | { | 945 | 6.41k | return is_range_eof(r.begin(), r.end()); | 946 | 6.41k | } |
bool scn::v4::impl::is_range_eof<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 944 | 3.78k | { | 945 | 3.78k | return is_range_eof(r.begin(), r.end()); | 946 | 3.78k | } |
|
947 | | |
948 | | template <typename Range> |
949 | | SCN_NODISCARD constexpr eof_error eof_check(Range range) |
950 | 52.8k | { |
951 | 52.8k | if (SCN_UNLIKELY(is_range_eof(range))) { |
952 | 368 | return eof_error::eof; |
953 | 368 | } |
954 | 52.4k | return eof_error::good; |
955 | 52.8k | } Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 950 | 2.67k | { | 951 | 2.67k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 2.67k | return eof_error::good; | 955 | 2.67k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 950 | 40 | { | 951 | 40 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 40 | return eof_error::good; | 955 | 40 | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 950 | 21.7k | { | 951 | 21.7k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 21.7k | return eof_error::good; | 955 | 21.7k | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 950 | 22.4k | { | 951 | 22.4k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 22.4k | return eof_error::good; | 955 | 22.4k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 950 | 1.69k | { | 951 | 1.69k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 0 | return eof_error::eof; | 953 | 0 | } | 954 | 1.69k | return eof_error::good; | 955 | 1.69k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 950 | 110 | { | 951 | 110 | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 14 | return eof_error::eof; | 953 | 14 | } | 954 | 96 | return eof_error::good; | 955 | 110 | } |
Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Unexecuted instantiation: scn::v4::impl::eof_error scn::v4::impl::eof_check<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 950 | 2.47k | { | 951 | 2.47k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 238 | return eof_error::eof; | 953 | 238 | } | 954 | 2.23k | return eof_error::good; | 955 | 2.47k | } |
scn::v4::impl::eof_error scn::v4::impl::eof_check<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) Line | Count | Source | 950 | 1.65k | { | 951 | 1.65k | if (SCN_UNLIKELY(is_range_eof(range))) { | 952 | 116 | return eof_error::eof; | 953 | 116 | } | 954 | 1.53k | return eof_error::good; | 955 | 1.65k | } |
|
956 | | |
957 | | template <typename Range> |
958 | | bool is_entire_source_contiguous(Range r) |
959 | 1.26k | { |
960 | | if constexpr (ranges::contiguous_range<Range> && |
961 | 456 | ranges::sized_range<Range>) { |
962 | 456 | return true; |
963 | | } |
964 | | else if constexpr (std::is_same_v< |
965 | | ranges::const_iterator_t<Range>, |
966 | | typename detail::basic_scan_buffer< |
967 | 0 | detail::char_t<Range>>::forward_iterator>) { |
968 | 0 | auto beg = r.begin(); |
969 | 0 | if (!beg.stores_parent()) { |
970 | 0 | return true; |
971 | 0 | } |
972 | 0 | return beg.parent()->is_contiguous(); |
973 | | } |
974 | 810 | else { |
975 | 810 | return false; |
976 | 810 | } |
977 | 1.26k | } Unexecuted instantiation: bool scn::v4::impl::is_entire_source_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_entire_source_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) bool scn::v4::impl::is_entire_source_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 959 | 810 | { | 960 | | if constexpr (ranges::contiguous_range<Range> && | 961 | | ranges::sized_range<Range>) { | 962 | | return true; | 963 | | } | 964 | | else if constexpr (std::is_same_v< | 965 | | ranges::const_iterator_t<Range>, | 966 | | typename detail::basic_scan_buffer< | 967 | | detail::char_t<Range>>::forward_iterator>) { | 968 | | auto beg = r.begin(); | 969 | | if (!beg.stores_parent()) { | 970 | | return true; | 971 | | } | 972 | | return beg.parent()->is_contiguous(); | 973 | | } | 974 | 810 | else { | 975 | 810 | return false; | 976 | 810 | } | 977 | 810 | } |
bool scn::v4::impl::is_entire_source_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 959 | 456 | { | 960 | | if constexpr (ranges::contiguous_range<Range> && | 961 | 456 | ranges::sized_range<Range>) { | 962 | 456 | return true; | 963 | | } | 964 | | else if constexpr (std::is_same_v< | 965 | | ranges::const_iterator_t<Range>, | 966 | | typename detail::basic_scan_buffer< | 967 | | detail::char_t<Range>>::forward_iterator>) { | 968 | | auto beg = r.begin(); | 969 | | if (!beg.stores_parent()) { | 970 | | return true; | 971 | | } | 972 | | return beg.parent()->is_contiguous(); | 973 | | } | 974 | | else { | 975 | | return false; | 976 | | } | 977 | 456 | } |
|
978 | | |
979 | | template <typename Range> |
980 | | bool is_segment_contiguous(Range r) |
981 | 456 | { |
982 | | if constexpr (ranges::contiguous_range<Range> && |
983 | 456 | ranges::sized_range<Range>) { |
984 | 456 | return true; |
985 | | } |
986 | | else if constexpr (std::is_same_v< |
987 | | ranges::const_iterator_t<Range>, |
988 | | typename detail::basic_scan_buffer< |
989 | 0 | detail::char_t<Range>>::forward_iterator>) { |
990 | 0 | auto beg = r.begin(); |
991 | 0 | if (beg.contiguous_segment().empty()) { |
992 | 0 | return false; |
993 | 0 | } |
994 | | if constexpr (ranges::common_range<Range>) { |
995 | | return beg.contiguous_segment().end() == |
996 | | ranges::end(r).contiguous_segment().end(); |
997 | | } |
998 | 0 | else { |
999 | 0 | if (beg.stores_parent()) { |
1000 | 0 | return beg.contiguous_segment().end() == |
1001 | 0 | beg.parent()->current_view().end(); |
1002 | 0 | } |
1003 | 0 | return true; |
1004 | 0 | } |
1005 | | } |
1006 | 0 | else { |
1007 | 0 | return false; |
1008 | 0 | } |
1009 | 456 | } Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 981 | 456 | { | 982 | | if constexpr (ranges::contiguous_range<Range> && | 983 | 456 | ranges::sized_range<Range>) { | 984 | 456 | return true; | 985 | | } | 986 | | else if constexpr (std::is_same_v< | 987 | | ranges::const_iterator_t<Range>, | 988 | | typename detail::basic_scan_buffer< | 989 | | detail::char_t<Range>>::forward_iterator>) { | 990 | | auto beg = r.begin(); | 991 | | if (beg.contiguous_segment().empty()) { | 992 | | return false; | 993 | | } | 994 | | if constexpr (ranges::common_range<Range>) { | 995 | | return beg.contiguous_segment().end() == | 996 | | ranges::end(r).contiguous_segment().end(); | 997 | | } | 998 | | else { | 999 | | if (beg.stores_parent()) { | 1000 | | return beg.contiguous_segment().end() == | 1001 | | beg.parent()->current_view().end(); | 1002 | | } | 1003 | | return true; | 1004 | | } | 1005 | | } | 1006 | | else { | 1007 | | return false; | 1008 | | } | 1009 | 456 | } |
Unexecuted instantiation: bool scn::v4::impl::is_segment_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) |
1010 | | |
1011 | | template <typename Range> |
1012 | | std::size_t contiguous_beginning_size(Range r) |
1013 | | { |
1014 | | if constexpr (ranges::contiguous_range<Range> && |
1015 | | ranges::sized_range<Range>) { |
1016 | | return r.size(); |
1017 | | } |
1018 | | else if constexpr (std::is_same_v< |
1019 | | ranges::const_iterator_t<Range>, |
1020 | | typename detail::basic_scan_buffer< |
1021 | | detail::char_t<Range>>::forward_iterator>) { |
1022 | | if constexpr (ranges::common_range<Range>) { |
1023 | | auto seg = r.begin().contiguous_segment(); |
1024 | | auto dist = |
1025 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1026 | | return std::min(seg.size(), dist); |
1027 | | } |
1028 | | else { |
1029 | | return r.begin().contiguous_segment().size(); |
1030 | | } |
1031 | | } |
1032 | | else { |
1033 | | return false; |
1034 | | } |
1035 | | } |
1036 | | |
1037 | | template <typename Range> |
1038 | | auto get_contiguous_beginning(Range r) |
1039 | 4.15k | { |
1040 | | if constexpr (ranges::contiguous_range<Range> && |
1041 | | ranges::sized_range<Range>) { |
1042 | | return r; |
1043 | | } |
1044 | | else if constexpr (std::is_same_v< |
1045 | | ranges::const_iterator_t<Range>, |
1046 | | typename detail::basic_scan_buffer< |
1047 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1048 | | if constexpr (ranges::common_range<Range>) { |
1049 | | auto seg = r.begin().contiguous_segment(); |
1050 | | auto dist = |
1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1052 | | return seg.substr(0, std::min(seg.size(), dist)); |
1053 | | } |
1054 | 0 | else { |
1055 | 0 | return r.begin().contiguous_segment(); |
1056 | 0 | } |
1057 | | } |
1058 | 4.15k | else { |
1059 | 4.15k | return std::basic_string_view<detail::char_t<Range>>{}; |
1060 | 4.15k | } |
1061 | 4.15k | } Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >) Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >) auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1039 | 1.67k | { | 1040 | | if constexpr (ranges::contiguous_range<Range> && | 1041 | | ranges::sized_range<Range>) { | 1042 | | return r; | 1043 | | } | 1044 | | else if constexpr (std::is_same_v< | 1045 | | ranges::const_iterator_t<Range>, | 1046 | | typename detail::basic_scan_buffer< | 1047 | | detail::char_t<Range>>::forward_iterator>) { | 1048 | | if constexpr (ranges::common_range<Range>) { | 1049 | | auto seg = r.begin().contiguous_segment(); | 1050 | | auto dist = | 1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1052 | | return seg.substr(0, std::min(seg.size(), dist)); | 1053 | | } | 1054 | | else { | 1055 | | return r.begin().contiguous_segment(); | 1056 | | } | 1057 | | } | 1058 | 1.67k | else { | 1059 | 1.67k | return std::basic_string_view<detail::char_t<Range>>{}; | 1060 | 1.67k | } | 1061 | 1.67k | } |
Unexecuted instantiation: auto scn::v4::impl::get_contiguous_beginning<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) auto scn::v4::impl::get_contiguous_beginning<scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > > >(scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >) Line | Count | Source | 1039 | 2.47k | { | 1040 | | if constexpr (ranges::contiguous_range<Range> && | 1041 | | ranges::sized_range<Range>) { | 1042 | | return r; | 1043 | | } | 1044 | | else if constexpr (std::is_same_v< | 1045 | | ranges::const_iterator_t<Range>, | 1046 | | typename detail::basic_scan_buffer< | 1047 | | detail::char_t<Range>>::forward_iterator>) { | 1048 | | if constexpr (ranges::common_range<Range>) { | 1049 | | auto seg = r.begin().contiguous_segment(); | 1050 | | auto dist = | 1051 | | static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1052 | | return seg.substr(0, std::min(seg.size(), dist)); | 1053 | | } | 1054 | | else { | 1055 | | return r.begin().contiguous_segment(); | 1056 | | } | 1057 | | } | 1058 | 2.47k | else { | 1059 | 2.47k | return std::basic_string_view<detail::char_t<Range>>{}; | 1060 | 2.47k | } | 1061 | 2.47k | } |
|
1062 | | |
1063 | | template <typename Range> |
1064 | | auto get_as_contiguous(Range r) |
1065 | 456 | { |
1066 | 456 | SCN_EXPECT(is_segment_contiguous(r)); |
1067 | | |
1068 | | if constexpr (ranges::contiguous_range<Range> && |
1069 | 456 | ranges::sized_range<Range>) { |
1070 | 456 | return r; |
1071 | | } |
1072 | | else if constexpr (std::is_same_v< |
1073 | | ranges::const_iterator_t<Range>, |
1074 | | typename detail::basic_scan_buffer< |
1075 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1076 | | if constexpr (ranges::common_range<Range>) { |
1077 | | return detail::make_string_view_from_pointers( |
1078 | | r.begin().to_contiguous_segment_iterator(), |
1079 | | r.end().to_contiguous_segment_iterator()); |
1080 | | } |
1081 | 0 | else { |
1082 | 0 | return r.begin().contiguous_segment(); |
1083 | 0 | } |
1084 | | } |
1085 | 0 | else { |
1086 | 0 | SCN_EXPECT(false); |
1087 | 0 | SCN_UNREACHABLE; |
1088 | | // for return type deduction |
1089 | 0 | return std::basic_string_view<detail::char_t<Range>>{}; |
1090 | 0 | } |
1091 | 456 | } Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 1065 | 456 | { | 1066 | 456 | SCN_EXPECT(is_segment_contiguous(r)); | 1067 | | | 1068 | | if constexpr (ranges::contiguous_range<Range> && | 1069 | 456 | ranges::sized_range<Range>) { | 1070 | 456 | return r; | 1071 | | } | 1072 | | else if constexpr (std::is_same_v< | 1073 | | ranges::const_iterator_t<Range>, | 1074 | | typename detail::basic_scan_buffer< | 1075 | | detail::char_t<Range>>::forward_iterator>) { | 1076 | | if constexpr (ranges::common_range<Range>) { | 1077 | | return detail::make_string_view_from_pointers( | 1078 | | r.begin().to_contiguous_segment_iterator(), | 1079 | | r.end().to_contiguous_segment_iterator()); | 1080 | | } | 1081 | | else { | 1082 | | return r.begin().contiguous_segment(); | 1083 | | } | 1084 | | } | 1085 | | else { | 1086 | | SCN_EXPECT(false); | 1087 | | SCN_UNREACHABLE; | 1088 | | // for return type deduction | 1089 | | return std::basic_string_view<detail::char_t<Range>>{}; | 1090 | | } | 1091 | 456 | } |
Unexecuted instantiation: auto scn::v4::impl::get_as_contiguous<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) |
1092 | | |
1093 | | template <typename Range> |
1094 | | std::size_t guaranteed_minimum_size(Range r) |
1095 | 11.4k | { |
1096 | | if constexpr (ranges::sized_range<Range>) { |
1097 | | return r.size(); |
1098 | | } |
1099 | | else if constexpr (std::is_same_v< |
1100 | | ranges::const_iterator_t<Range>, |
1101 | | typename detail::basic_scan_buffer< |
1102 | 0 | detail::char_t<Range>>::forward_iterator>) { |
1103 | | if constexpr (ranges::common_range<Range>) { |
1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); |
1105 | | } |
1106 | 0 | else { |
1107 | 0 | if (r.begin().stores_parent()) { |
1108 | 0 | return static_cast<size_t>( |
1109 | 0 | r.begin().parent()->chars_available() - |
1110 | 0 | r.begin().position()); |
1111 | 0 | } |
1112 | 0 | return r.begin().contiguous_segment().size(); |
1113 | 0 | } |
1114 | | } |
1115 | 11.4k | else { |
1116 | 11.4k | return 0; |
1117 | 11.4k | } |
1118 | 11.4k | } Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >) Line | Count | Source | 1095 | 7.58k | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 7.58k | else { | 1116 | 7.58k | return 0; | 1117 | 7.58k | } | 1118 | 7.58k | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >) Line | Count | Source | 1095 | 1.09k | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 1.09k | else { | 1116 | 1.09k | return 0; | 1117 | 1.09k | } | 1118 | 1.09k | } |
unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> >) Line | Count | Source | 1095 | 1.32k | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 1.32k | else { | 1116 | 1.32k | return 0; | 1117 | 1.32k | } | 1118 | 1.32k | } |
unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 1095 | 944 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 944 | else { | 1116 | 944 | return 0; | 1117 | 944 | } | 1118 | 944 | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> >) unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 1095 | 480 | { | 1096 | | if constexpr (ranges::sized_range<Range>) { | 1097 | | return r.size(); | 1098 | | } | 1099 | | else if constexpr (std::is_same_v< | 1100 | | ranges::const_iterator_t<Range>, | 1101 | | typename detail::basic_scan_buffer< | 1102 | | detail::char_t<Range>>::forward_iterator>) { | 1103 | | if constexpr (ranges::common_range<Range>) { | 1104 | | return static_cast<size_t>(ranges::distance(r.begin(), r.end())); | 1105 | | } | 1106 | | else { | 1107 | | if (r.begin().stores_parent()) { | 1108 | | return static_cast<size_t>( | 1109 | | r.begin().parent()->chars_available() - | 1110 | | r.begin().position()); | 1111 | | } | 1112 | | return r.begin().contiguous_segment().size(); | 1113 | | } | 1114 | | } | 1115 | 480 | else { | 1116 | 480 | return 0; | 1117 | 480 | } | 1118 | 480 | } |
Unexecuted instantiation: unsigned long scn::v4::impl::guaranteed_minimum_size<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) |
1119 | | |
1120 | | template <typename I, typename T> |
1121 | | struct iterator_value_result { |
1122 | | SCN_NO_UNIQUE_ADDRESS I iterator; |
1123 | | SCN_NO_UNIQUE_ADDRESS T value; |
1124 | | }; |
1125 | | |
1126 | | } // namespace impl |
1127 | | |
1128 | | ///////////////////////////////////////////////////////////////// |
1129 | | // File support |
1130 | | ///////////////////////////////////////////////////////////////// |
1131 | | |
1132 | | namespace detail { |
1133 | | |
1134 | | template <typename FileInterface> |
1135 | | basic_scan_file_buffer<FileInterface>::basic_scan_file_buffer( |
1136 | | FileInterface file) |
1137 | 0 | : base(base::non_contiguous_tag{}), m_file(SCN_MOVE(file)) |
1138 | 0 | { |
1139 | 0 | m_file.lock(); |
1140 | 0 | } |
1141 | | |
1142 | | template <typename FileInterface> |
1143 | | basic_scan_file_buffer<FileInterface>::~basic_scan_file_buffer() |
1144 | 0 | { |
1145 | 0 | m_file.unlock(); |
1146 | 0 | } |
1147 | | |
1148 | | template <typename FileInterface> |
1149 | | bool basic_scan_file_buffer<FileInterface>::fill() |
1150 | 0 | { |
1151 | 0 | if (!this->m_current_view.empty()) { |
1152 | 0 | this->m_putback_buffer.insert(this->m_putback_buffer.end(), |
1153 | 0 | this->m_current_view.begin(), |
1154 | 0 | this->m_current_view.end()); |
1155 | 0 | } |
1156 | |
|
1157 | 0 | if (m_file.has_buffering()) { |
1158 | 0 | if (!this->m_current_view.empty()) { |
1159 | 0 | m_file.unsafe_advance_n(this->m_current_view.size()); |
1160 | 0 | } |
1161 | |
|
1162 | 0 | if (m_file.buffer().empty()) { |
1163 | 0 | m_file.fill_buffer(); |
1164 | 0 | } |
1165 | 0 | m_current_view = m_file.buffer(); |
1166 | 0 | return !this->m_current_view.empty(); |
1167 | 0 | } |
1168 | | |
1169 | 0 | this->m_latest = m_file.read_one(); |
1170 | 0 | if (!this->m_latest) { |
1171 | 0 | this->m_current_view = {}; |
1172 | 0 | return false; |
1173 | 0 | } |
1174 | | |
1175 | 0 | this->m_current_view = {&*this->m_latest, 1}; |
1176 | 0 | return true; |
1177 | 0 | } |
1178 | | |
1179 | | template <typename FileInterface> |
1180 | | bool basic_scan_file_buffer<FileInterface>::sync(std::ptrdiff_t position) |
1181 | 0 | { |
1182 | 0 | struct putback_wrapper { |
1183 | 0 | putback_wrapper(FileInterface& i) : i(i) |
1184 | 0 | { |
1185 | 0 | i.prepare_putback(); |
1186 | 0 | } |
1187 | 0 | ~putback_wrapper() |
1188 | 0 | { |
1189 | 0 | i.finalize_putback(); |
1190 | 0 | } |
1191 | |
|
1192 | 0 | FileInterface& i; |
1193 | 0 | }; |
1194 | |
|
1195 | 0 | if (m_file.has_buffering()) { |
1196 | 0 | if (position < |
1197 | 0 | static_cast<std::ptrdiff_t>(this->putback_buffer().size())) { |
1198 | 0 | putback_wrapper wrapper{m_file}; |
1199 | 0 | auto segment = this->get_segment_starting_at(position); |
1200 | 0 | for (auto it = segment.rbegin(); it != segment.rend(); ++it) { |
1201 | 0 | if (!m_file.putback(*it)) { |
1202 | 0 | return false; |
1203 | 0 | } |
1204 | 0 | } |
1205 | 0 | return true; |
1206 | 0 | } |
1207 | | |
1208 | 0 | m_file.unsafe_advance_n(position - static_cast<std::ptrdiff_t>( |
1209 | 0 | this->putback_buffer().size())); |
1210 | 0 | return true; |
1211 | 0 | } |
1212 | | |
1213 | 0 | const auto chars_avail = this->chars_available(); |
1214 | 0 | if (position == chars_avail) { |
1215 | 0 | return true; |
1216 | 0 | } |
1217 | | |
1218 | 0 | putback_wrapper wrapper{m_file}; |
1219 | 0 | SCN_EXPECT(m_current_view.size() == 1); |
1220 | 0 | m_file.putback(m_current_view.front()); |
1221 | |
|
1222 | 0 | auto segment = std::string_view{this->putback_buffer()}.substr(position); |
1223 | 0 | for (auto it = segment.rbegin(); it != segment.rend(); ++it) { |
1224 | 0 | if (!m_file.putback(*it)) { |
1225 | 0 | return false; |
1226 | 0 | } |
1227 | 0 | } |
1228 | 0 | return true; |
1229 | 0 | } |
1230 | | |
1231 | | } // namespace detail |
1232 | | |
1233 | | ///////////////////////////////////////////////////////////////// |
1234 | | // Unicode |
1235 | | ///////////////////////////////////////////////////////////////// |
1236 | | |
1237 | | namespace impl { |
1238 | | |
1239 | | template <typename CharT> |
1240 | | constexpr bool validate_unicode(std::basic_string_view<CharT> src) |
1241 | 16.4k | { |
1242 | 16.4k | auto it = src.begin(); |
1243 | 929k | while (it != src.end()) { |
1244 | 916k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
1245 | 916k | if (len == 0) { |
1246 | 1.43k | return false; |
1247 | 1.43k | } |
1248 | 914k | if (src.end() - it < len) { |
1249 | 240 | return false; |
1250 | 240 | } |
1251 | 914k | const auto cp = detail::decode_code_point_exhaustive( |
1252 | 914k | detail::make_string_view_from_iterators<CharT>(it, it + len)); |
1253 | 914k | if (cp >= detail::invalid_code_point) { |
1254 | 1.66k | return false; |
1255 | 1.66k | } |
1256 | 912k | it += len; |
1257 | 912k | } |
1258 | 13.0k | return true; |
1259 | 16.4k | } bool scn::v4::impl::validate_unicode<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1241 | 10.1k | { | 1242 | 10.1k | auto it = src.begin(); | 1243 | 866k | while (it != src.end()) { | 1244 | 858k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1245 | 858k | if (len == 0) { | 1246 | 1.43k | return false; | 1247 | 1.43k | } | 1248 | 856k | if (src.end() - it < len) { | 1249 | 240 | return false; | 1250 | 240 | } | 1251 | 856k | const auto cp = detail::decode_code_point_exhaustive( | 1252 | 856k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1253 | 856k | if (cp >= detail::invalid_code_point) { | 1254 | 420 | return false; | 1255 | 420 | } | 1256 | 856k | it += len; | 1257 | 856k | } | 1258 | 8.05k | return true; | 1259 | 10.1k | } |
bool scn::v4::impl::validate_unicode<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1241 | 6.28k | { | 1242 | 6.28k | auto it = src.begin(); | 1243 | 62.9k | while (it != src.end()) { | 1244 | 57.9k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 1245 | 57.9k | if (len == 0) { | 1246 | 0 | return false; | 1247 | 0 | } | 1248 | 57.9k | if (src.end() - it < len) { | 1249 | 0 | return false; | 1250 | 0 | } | 1251 | 57.9k | const auto cp = detail::decode_code_point_exhaustive( | 1252 | 57.9k | detail::make_string_view_from_iterators<CharT>(it, it + len)); | 1253 | 57.9k | if (cp >= detail::invalid_code_point) { | 1254 | 1.24k | return false; | 1255 | 1.24k | } | 1256 | 56.6k | it += len; | 1257 | 56.6k | } | 1258 | 5.04k | return true; | 1259 | 6.28k | } |
|
1260 | | |
1261 | | template <typename Range> |
1262 | | constexpr auto get_start_for_next_code_point(Range input) |
1263 | | -> ranges::const_iterator_t<Range> |
1264 | 13.6k | { |
1265 | 13.6k | auto it = input.begin(); |
1266 | 33.2k | for (; it != input.end(); ++it) { |
1267 | 31.4k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { |
1268 | 11.9k | break; |
1269 | 11.9k | } |
1270 | 31.4k | } |
1271 | 13.6k | return it; |
1272 | 13.6k | } _ZN3scn2v44impl29get_start_for_next_code_pointINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 1264 | 7.01k | { | 1265 | 7.01k | auto it = input.begin(); | 1266 | 24.7k | for (; it != input.end(); ++it) { | 1267 | 23.2k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 5.57k | break; | 1269 | 5.57k | } | 1270 | 23.2k | } | 1271 | 7.01k | return it; | 1272 | 7.01k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Line | Count | Source | 1264 | 5.40k | { | 1265 | 5.40k | auto it = input.begin(); | 1266 | 6.77k | for (; it != input.end(); ++it) { | 1267 | 6.55k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 5.18k | break; | 1269 | 5.18k | } | 1270 | 6.55k | } | 1271 | 5.40k | return it; | 1272 | 5.40k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1264 | 1.21k | { | 1265 | 1.21k | auto it = input.begin(); | 1266 | 1.71k | for (; it != input.end(); ++it) { | 1267 | 1.65k | if (detail::code_point_length_by_starting_code_unit(*it) != 0) { | 1268 | 1.15k | break; | 1269 | 1.15k | } | 1270 | 1.65k | } | 1271 | 1.21k | return it; | 1272 | 1.21k | } |
Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESR_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESN_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29get_start_for_next_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESO_ |
1273 | | |
1274 | | template <typename CharT> |
1275 | | constexpr auto get_next_code_point(std::basic_string_view<CharT> input) |
1276 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1277 | | char32_t> |
1278 | 670k | { |
1279 | 670k | SCN_EXPECT(!input.empty()); |
1280 | | |
1281 | 670k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1282 | 670k | if (SCN_UNLIKELY(len == 0)) { |
1283 | 7.01k | return {get_start_for_next_code_point(input), |
1284 | 7.01k | detail::invalid_code_point}; |
1285 | 7.01k | } |
1286 | 663k | if (SCN_UNLIKELY(len > input.size())) { |
1287 | 1.00k | return {input.end(), detail::invalid_code_point}; |
1288 | 1.00k | } |
1289 | | |
1290 | 662k | return {input.begin() + len, |
1291 | 662k | detail::decode_code_point_exhaustive(input.substr(0, len))}; |
1292 | 663k | } scn::v4::impl::iterator_value_result<std::__1::basic_string_view<char, std::__1::char_traits<char> >::iterator, char32_t> scn::v4::impl::get_next_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1278 | 411k | { | 1279 | 411k | SCN_EXPECT(!input.empty()); | 1280 | | | 1281 | 411k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1282 | 411k | if (SCN_UNLIKELY(len == 0)) { | 1283 | 7.01k | return {get_start_for_next_code_point(input), | 1284 | 7.01k | detail::invalid_code_point}; | 1285 | 7.01k | } | 1286 | 404k | if (SCN_UNLIKELY(len > input.size())) { | 1287 | 1.00k | return {input.end(), detail::invalid_code_point}; | 1288 | 1.00k | } | 1289 | | | 1290 | 403k | return {input.begin() + len, | 1291 | 403k | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1292 | 404k | } |
scn::v4::impl::iterator_value_result<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >::iterator, char32_t> scn::v4::impl::get_next_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1278 | 258k | { | 1279 | 258k | SCN_EXPECT(!input.empty()); | 1280 | | | 1281 | 258k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); | 1282 | 258k | if (SCN_UNLIKELY(len == 0)) { | 1283 | 0 | return {get_start_for_next_code_point(input), | 1284 | 0 | detail::invalid_code_point}; | 1285 | 0 | } | 1286 | 258k | if (SCN_UNLIKELY(len > input.size())) { | 1287 | 0 | return {input.end(), detail::invalid_code_point}; | 1288 | 0 | } | 1289 | | | 1290 | 258k | return {input.begin() + len, | 1291 | 258k | detail::decode_code_point_exhaustive(input.substr(0, len))}; | 1292 | 258k | } |
|
1293 | | |
1294 | | template <typename CharT> |
1295 | | constexpr auto get_next_code_point_valid(std::basic_string_view<CharT> input) |
1296 | | -> iterator_value_result<typename std::basic_string_view<CharT>::iterator, |
1297 | | char32_t> |
1298 | 210k | { |
1299 | 210k | SCN_EXPECT(!input.empty()); |
1300 | | |
1301 | 210k | const auto len = detail::code_point_length_by_starting_code_unit(input[0]); |
1302 | 210k | SCN_EXPECT(len <= input.size()); |
1303 | | |
1304 | 210k | return {input.begin() + len, |
1305 | 210k | detail::decode_code_point_exhaustive_valid(input.substr(0, len))}; |
1306 | 210k | } |
1307 | | |
1308 | | template <typename CharT> |
1309 | | struct is_first_char_space_result { |
1310 | | ranges::iterator_t<std::basic_string_view<CharT>> iterator; |
1311 | | char32_t cp; |
1312 | | bool is_space; |
1313 | | }; |
1314 | | |
1315 | | template <typename CharT> |
1316 | | inline constexpr auto is_first_char_space(std::basic_string_view<CharT> str) |
1317 | | -> is_first_char_space_result<CharT> |
1318 | 319k | { |
1319 | | // TODO: optimize |
1320 | 319k | SCN_EXPECT(!str.empty()); |
1321 | 319k | auto res = get_next_code_point(str); |
1322 | 319k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; |
1323 | 319k | } scn::v4::impl::is_first_char_space_result<char> scn::v4::impl::is_first_char_space<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 1318 | 72.6k | { | 1319 | | // TODO: optimize | 1320 | 72.6k | SCN_EXPECT(!str.empty()); | 1321 | 72.6k | auto res = get_next_code_point(str); | 1322 | 72.6k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1323 | 72.6k | } |
scn::v4::impl::is_first_char_space_result<wchar_t> scn::v4::impl::is_first_char_space<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 1318 | 246k | { | 1319 | | // TODO: optimize | 1320 | 246k | SCN_EXPECT(!str.empty()); | 1321 | 246k | auto res = get_next_code_point(str); | 1322 | 246k | return {res.iterator, res.value, detail::is_cp_space(res.value)}; | 1323 | 246k | } |
|
1324 | | |
1325 | | inline constexpr scan_expected<wchar_t> encode_code_point_as_wide_character( |
1326 | | char32_t cp, |
1327 | | bool error_on_overflow) |
1328 | 0 | { |
1329 | 0 | SCN_EXPECT(cp < detail::invalid_code_point); |
1330 | 0 | if constexpr (sizeof(wchar_t) == sizeof(char32_t)) { |
1331 | 0 | SCN_UNUSED(error_on_overflow); |
1332 | 0 | return static_cast<wchar_t>(cp); |
1333 | | } |
1334 | | else { |
1335 | | if (cp < 0x10000) { |
1336 | | return static_cast<wchar_t>(cp); |
1337 | | } |
1338 | | if (error_on_overflow) { |
1339 | | return detail::unexpected_scan_error( |
1340 | | scan_error::value_positive_overflow, |
1341 | | "Non-BMP code point can't be " |
1342 | | "narrowed to a single 2-byte " |
1343 | | "wchar_t code unit"); |
1344 | | } |
1345 | | // Return the lead surrogate |
1346 | | return static_cast<wchar_t>( |
1347 | | (static_cast<uint32_t>(cp) - 0x10000) / 0x400 + 0xd800); |
1348 | | } |
1349 | 0 | } |
1350 | | |
1351 | | template <typename SourceCharT, typename DestCharT> |
1352 | | void transcode_to_string_impl_to32(std::basic_string_view<SourceCharT> src, |
1353 | | std::basic_string<DestCharT>& dest) |
1354 | 3.40k | { |
1355 | 3.40k | static_assert(sizeof(DestCharT) == 4); |
1356 | | |
1357 | 3.40k | auto it = src.begin(); |
1358 | 251k | while (it != src.end()) { |
1359 | 247k | auto res = get_next_code_point( |
1360 | 247k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1361 | 247k | src.end())); |
1362 | 247k | if (SCN_UNLIKELY(res.value == detail::invalid_code_point)) { |
1363 | 4.61k | dest.push_back(DestCharT{0xfffd}); |
1364 | 4.61k | } |
1365 | 243k | else { |
1366 | 243k | dest.push_back(res.value); |
1367 | 243k | } |
1368 | 247k | it = detail::make_string_view_iterator(src, res.iterator); |
1369 | 247k | } |
1370 | 3.40k | } |
1371 | | template <typename SourceCharT, typename DestCharT> |
1372 | | void transcode_valid_to_string_impl_to32( |
1373 | | std::basic_string_view<SourceCharT> src, |
1374 | | std::basic_string<DestCharT>& dest) |
1375 | 2.01k | { |
1376 | 2.01k | static_assert(sizeof(DestCharT) == 4); |
1377 | | |
1378 | 2.01k | auto it = src.begin(); |
1379 | 212k | while (it != src.end()) { |
1380 | 210k | auto res = get_next_code_point_valid( |
1381 | 210k | detail::make_string_view_from_iterators<SourceCharT>(it, |
1382 | 210k | src.end())); |
1383 | 210k | SCN_EXPECT(res.value < detail::invalid_code_point); |
1384 | 210k | dest.push_back(res.value); |
1385 | 210k | it = detail::make_string_view_iterator(src, res.iterator); |
1386 | 210k | } |
1387 | 2.01k | } |
1388 | | |
1389 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1390 | | void transcode_to_string_impl_32to8(std::basic_string_view<SourceCharT> src, |
1391 | | std::basic_string<DestCharT>& dest) |
1392 | 1.26k | { |
1393 | 1.26k | static_assert(sizeof(SourceCharT) == 4); |
1394 | 1.26k | static_assert(sizeof(DestCharT) == 1); |
1395 | | |
1396 | 11.9k | for (auto cp : src) { |
1397 | 11.9k | const auto u32cp = static_cast<uint32_t>(cp); |
1398 | 11.9k | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1399 | | // Replacement character |
1400 | 0 | dest.push_back(static_cast<char>(0xef)); |
1401 | 0 | dest.push_back(static_cast<char>(0xbf)); |
1402 | 0 | dest.push_back(static_cast<char>(0xbd)); |
1403 | 0 | } |
1404 | 11.9k | else if (cp < 128) { |
1405 | 9.94k | dest.push_back(static_cast<char>(cp)); |
1406 | 9.94k | } |
1407 | 2.01k | else if (cp < 2048) { |
1408 | 210 | dest.push_back( |
1409 | 210 | static_cast<char>(0xc0 | (static_cast<char>(u32cp >> 6)))); |
1410 | 210 | dest.push_back( |
1411 | 210 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1412 | 210 | } |
1413 | 1.80k | else if (cp < 65536) { |
1414 | 1.37k | dest.push_back( |
1415 | 1.37k | static_cast<char>(0xe0 | (static_cast<char>(u32cp >> 12)))); |
1416 | 1.37k | dest.push_back(static_cast<char>( |
1417 | 1.37k | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1418 | 1.37k | dest.push_back( |
1419 | 1.37k | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1420 | 1.37k | } |
1421 | 436 | else { |
1422 | 436 | dest.push_back( |
1423 | 436 | static_cast<char>(0xf0 | (static_cast<char>(u32cp >> 18)))); |
1424 | 436 | dest.push_back(static_cast<char>( |
1425 | 436 | 0x80 | (static_cast<char>(u32cp >> 12) & 0x3f))); |
1426 | 436 | dest.push_back(static_cast<char>( |
1427 | 436 | 0x80 | (static_cast<char>(u32cp >> 6) & 0x3f))); |
1428 | 436 | dest.push_back( |
1429 | 436 | static_cast<char>(0x80 | (static_cast<char>(u32cp) & 0x3f))); |
1430 | 436 | } |
1431 | 11.9k | } |
1432 | 1.26k | } |
1433 | | |
1434 | | template <bool VerifiedValid, typename SourceCharT, typename DestCharT> |
1435 | | void transcode_to_string_impl_32to16(std::basic_string_view<SourceCharT> src, |
1436 | | std::basic_string<DestCharT>& dest) |
1437 | | { |
1438 | | static_assert(sizeof(SourceCharT) == 4); |
1439 | | static_assert(sizeof(DestCharT) == 2); |
1440 | | |
1441 | | for (auto cp : src) { |
1442 | | const auto u32cp = static_cast<uint32_t>(cp); |
1443 | | if (SCN_UNLIKELY(!VerifiedValid && cp >= detail::invalid_code_point)) { |
1444 | | dest.push_back(char16_t{0xfffd}); |
1445 | | } |
1446 | | else if (cp < 0x10000) { |
1447 | | dest.push_back(static_cast<char16_t>(cp)); |
1448 | | } |
1449 | | else { |
1450 | | dest.push_back( |
1451 | | static_cast<char16_t>((u32cp - 0x10000) / 0x400 + 0xd800)); |
1452 | | dest.push_back( |
1453 | | static_cast<char16_t>((u32cp - 0x10000) % 0x400 + 0xd800)); |
1454 | | } |
1455 | | } |
1456 | | } |
1457 | | |
1458 | | template <typename SourceCharT, typename DestCharT> |
1459 | | void transcode_to_string(std::basic_string_view<SourceCharT> src, |
1460 | | std::basic_string<DestCharT>& dest) |
1461 | 3.40k | { |
1462 | 3.40k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1463 | | |
1464 | 3.40k | if constexpr (sizeof(SourceCharT) == 1) { |
1465 | | if constexpr (sizeof(DestCharT) == 2) { |
1466 | | std::u32string tmp; |
1467 | | transcode_to_string_impl_to32(src, tmp); |
1468 | | return transcode_to_string_impl_32to16<false>( |
1469 | | std::u32string_view{tmp}, dest); |
1470 | | } |
1471 | 3.40k | else if constexpr (sizeof(DestCharT) == 4) { |
1472 | 3.40k | return transcode_to_string_impl_to32(src, dest); |
1473 | 3.40k | } |
1474 | | } |
1475 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1476 | | if constexpr (sizeof(DestCharT) == 1) { |
1477 | | std::u32string tmp; |
1478 | | transcode_to_string_impl_to32(src, tmp); |
1479 | | return transcode_to_string_impl_32to8<false>( |
1480 | | std::u32string_view{tmp}, dest); |
1481 | | } |
1482 | | else if constexpr (sizeof(DestCharT) == 4) { |
1483 | | return trasncode_to_string_impl_to32(src, dest); |
1484 | | } |
1485 | | } |
1486 | | else if constexpr (sizeof(SourceCharT) == 4) { |
1487 | | if constexpr (sizeof(DestCharT) == 1) { |
1488 | | return transcode_to_string_impl_32to8<false>(src, dest); |
1489 | | } |
1490 | | else if constexpr (sizeof(DestCharT) == 2) { |
1491 | | return transcode_to_string_impl_32to16<false>(src, dest); |
1492 | | } |
1493 | | } |
1494 | | |
1495 | 3.40k | SCN_EXPECT(false); |
1496 | 3.40k | SCN_UNREACHABLE; |
1497 | 3.40k | } |
1498 | | template <typename SourceCharT, typename DestCharT> |
1499 | | void transcode_valid_to_string(std::basic_string_view<SourceCharT> src, |
1500 | | std::basic_string<DestCharT>& dest) |
1501 | 3.27k | { |
1502 | 3.27k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); |
1503 | | |
1504 | 3.27k | SCN_EXPECT(validate_unicode(src)); |
1505 | 3.27k | if constexpr (sizeof(SourceCharT) == 1) { |
1506 | | if constexpr (sizeof(DestCharT) == 2) { |
1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 |
1508 | | std::u32string tmp; |
1509 | | transcode_valid_to_string_impl_to32(src, tmp); |
1510 | | return transcode_to_string_impl_32to16<true>( |
1511 | | std::u32string_view{tmp}, dest); |
1512 | | } |
1513 | 2.01k | else if constexpr (sizeof(DestCharT) == 4) { |
1514 | 2.01k | return transcode_valid_to_string_impl_to32(src, dest); |
1515 | 2.01k | } |
1516 | | } |
1517 | | else if constexpr (sizeof(SourceCharT) == 2) { |
1518 | | if constexpr (sizeof(DestCharT) == 1) { |
1519 | | std::u32string tmp; |
1520 | | transcode_valid_to_string_impl_to32(src, tmp); |
1521 | | return transcode_to_string_impl_32to8<true>( |
1522 | | std::u32string_view{tmp}, dest); |
1523 | | } |
1524 | | else if constexpr (sizeof(DestCharT) == 4) { |
1525 | | return trasncode_valid_to_string_impl_to32(src, dest); |
1526 | | } |
1527 | | } |
1528 | 1.26k | else if constexpr (sizeof(SourceCharT) == 4) { |
1529 | 1.26k | if constexpr (sizeof(DestCharT) == 1) { |
1530 | 1.26k | return transcode_to_string_impl_32to8<true>(src, dest); |
1531 | | } |
1532 | | else if constexpr (sizeof(DestCharT) == 2) { |
1533 | | return transcode_to_string_impl_32to16<true>(src, dest); |
1534 | | } |
1535 | 1.26k | } |
1536 | | |
1537 | 3.27k | SCN_EXPECT(false); |
1538 | 3.27k | SCN_UNREACHABLE; |
1539 | 3.27k | } void scn::v4::impl::transcode_valid_to_string<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 1501 | 2.01k | { | 1502 | 2.01k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1503 | | | 1504 | 2.01k | SCN_EXPECT(validate_unicode(src)); | 1505 | 2.01k | if constexpr (sizeof(SourceCharT) == 1) { | 1506 | | if constexpr (sizeof(DestCharT) == 2) { | 1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1508 | | std::u32string tmp; | 1509 | | transcode_valid_to_string_impl_to32(src, tmp); | 1510 | | return transcode_to_string_impl_32to16<true>( | 1511 | | std::u32string_view{tmp}, dest); | 1512 | | } | 1513 | 2.01k | else if constexpr (sizeof(DestCharT) == 4) { | 1514 | 2.01k | return transcode_valid_to_string_impl_to32(src, dest); | 1515 | 2.01k | } | 1516 | | } | 1517 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1518 | | if constexpr (sizeof(DestCharT) == 1) { | 1519 | | std::u32string tmp; | 1520 | | transcode_valid_to_string_impl_to32(src, tmp); | 1521 | | return transcode_to_string_impl_32to8<true>( | 1522 | | std::u32string_view{tmp}, dest); | 1523 | | } | 1524 | | else if constexpr (sizeof(DestCharT) == 4) { | 1525 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1526 | | } | 1527 | | } | 1528 | | else if constexpr (sizeof(SourceCharT) == 4) { | 1529 | | if constexpr (sizeof(DestCharT) == 1) { | 1530 | | return transcode_to_string_impl_32to8<true>(src, dest); | 1531 | | } | 1532 | | else if constexpr (sizeof(DestCharT) == 2) { | 1533 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1534 | | } | 1535 | | } | 1536 | | | 1537 | 2.01k | SCN_EXPECT(false); | 1538 | 0 | SCN_UNREACHABLE; | 1539 | 2.01k | } |
void scn::v4::impl::transcode_valid_to_string<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 1501 | 1.26k | { | 1502 | 1.26k | static_assert(sizeof(SourceCharT) != sizeof(DestCharT)); | 1503 | | | 1504 | 1.26k | SCN_EXPECT(validate_unicode(src)); | 1505 | | if constexpr (sizeof(SourceCharT) == 1) { | 1506 | | if constexpr (sizeof(DestCharT) == 2) { | 1507 | | // TODO: Optimize, remove utf32-step, go direct utf8->utf16 | 1508 | | std::u32string tmp; | 1509 | | transcode_valid_to_string_impl_to32(src, tmp); | 1510 | | return transcode_to_string_impl_32to16<true>( | 1511 | | std::u32string_view{tmp}, dest); | 1512 | | } | 1513 | | else if constexpr (sizeof(DestCharT) == 4) { | 1514 | | return transcode_valid_to_string_impl_to32(src, dest); | 1515 | | } | 1516 | | } | 1517 | | else if constexpr (sizeof(SourceCharT) == 2) { | 1518 | | if constexpr (sizeof(DestCharT) == 1) { | 1519 | | std::u32string tmp; | 1520 | | transcode_valid_to_string_impl_to32(src, tmp); | 1521 | | return transcode_to_string_impl_32to8<true>( | 1522 | | std::u32string_view{tmp}, dest); | 1523 | | } | 1524 | | else if constexpr (sizeof(DestCharT) == 4) { | 1525 | | return trasncode_valid_to_string_impl_to32(src, dest); | 1526 | | } | 1527 | | } | 1528 | 1.26k | else if constexpr (sizeof(SourceCharT) == 4) { | 1529 | 1.26k | if constexpr (sizeof(DestCharT) == 1) { | 1530 | 1.26k | return transcode_to_string_impl_32to8<true>(src, dest); | 1531 | | } | 1532 | | else if constexpr (sizeof(DestCharT) == 2) { | 1533 | | return transcode_to_string_impl_32to16<true>(src, dest); | 1534 | | } | 1535 | 1.26k | } | 1536 | | | 1537 | 1.26k | SCN_EXPECT(false); | 1538 | 0 | SCN_UNREACHABLE; | 1539 | 1.26k | } |
|
1540 | | |
1541 | | template <typename CharT> |
1542 | | constexpr void for_each_code_point(std::basic_string_view<CharT> input, |
1543 | | function_ref<void(char32_t)> cb) |
1544 | 46.1k | { |
1545 | | // TODO: Could be optimized by being eager |
1546 | 46.1k | auto it = input.begin(); |
1547 | 111k | while (it != input.end()) { |
1548 | 64.9k | auto res = get_next_code_point( |
1549 | 64.9k | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1550 | 64.9k | cb(res.value); |
1551 | 64.9k | it = detail::make_string_view_iterator(input, res.iterator); |
1552 | 64.9k | } |
1553 | 46.1k | } void scn::v4::impl::for_each_code_point<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1544 | 42.5k | { | 1545 | | // TODO: Could be optimized by being eager | 1546 | 42.5k | auto it = input.begin(); | 1547 | 95.8k | while (it != input.end()) { | 1548 | 53.2k | auto res = get_next_code_point( | 1549 | 53.2k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1550 | 53.2k | cb(res.value); | 1551 | 53.2k | it = detail::make_string_view_iterator(input, res.iterator); | 1552 | 53.2k | } | 1553 | 42.5k | } |
void scn::v4::impl::for_each_code_point<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, scn::v4::impl::function_ref<void (char32_t), void (char32_t)>) Line | Count | Source | 1544 | 3.64k | { | 1545 | | // TODO: Could be optimized by being eager | 1546 | 3.64k | auto it = input.begin(); | 1547 | 15.2k | while (it != input.end()) { | 1548 | 11.6k | auto res = get_next_code_point( | 1549 | 11.6k | detail::make_string_view_from_iterators<CharT>(it, input.end())); | 1550 | 11.6k | cb(res.value); | 1551 | 11.6k | it = detail::make_string_view_iterator(input, res.iterator); | 1552 | 11.6k | } | 1553 | 3.64k | } |
|
1554 | | |
1555 | | template <typename CharT> |
1556 | | constexpr void for_each_code_point_valid(std::basic_string_view<CharT> input, |
1557 | | function_ref<void(char32_t)> cb) |
1558 | | { |
1559 | | auto it = input.begin(); |
1560 | | while (it != input.end()) { |
1561 | | auto res = get_next_code_point_valid( |
1562 | | detail::make_string_view_from_iterators<CharT>(it, input.end())); |
1563 | | cb(res.value); |
1564 | | it = detail::make_string_view_iterator(input, res.iterator); |
1565 | | } |
1566 | | } |
1567 | | |
1568 | | ///////////////////////////////////////////////////////////////// |
1569 | | // contiguous_range_factory |
1570 | | ///////////////////////////////////////////////////////////////// |
1571 | | |
1572 | | template <typename View> |
1573 | | class take_width_view; |
1574 | | |
1575 | | template <typename CharT> |
1576 | | struct string_view_wrapper { |
1577 | | using char_type = CharT; |
1578 | | using string_type = std::basic_string<CharT>; |
1579 | | using string_view_type = std::basic_string_view<CharT>; |
1580 | | |
1581 | | constexpr string_view_wrapper() = default; |
1582 | | |
1583 | | template <typename Range, |
1584 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1585 | | ranges::contiguous_range<Range> && |
1586 | | ranges::sized_range<Range>>* = nullptr> |
1587 | 50.7k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) |
1588 | 50.7k | { |
1589 | 50.7k | } _ZN3scn2v44impl19string_view_wrapperIcEC2INS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1587 | 13.4k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 13.4k | { | 1589 | 13.4k | } |
_ZN3scn2v44impl19string_view_wrapperIcEC2IRNS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISF_Esr6rangesE11sized_rangeISF_EEvE4typeELPv0EEEOSF_ Line | Count | Source | 1587 | 18.2k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 18.2k | { | 1589 | 18.2k | } |
_ZN3scn2v44impl19string_view_wrapperIwEC2INS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISE_Esr6rangesE11sized_rangeISE_EEvE4typeELPv0EEEOSE_ Line | Count | Source | 1587 | 10.8k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 10.8k | { | 1589 | 10.8k | } |
_ZN3scn2v44impl19string_view_wrapperIcEC2IRNSt3__117basic_string_viewIcNS5_11char_traitsIcEEEETnPNS5_9enable_ifIXaaaasr6rangesE14borrowed_rangeIT_Esr6rangesE16contiguous_rangeISC_Esr6rangesE11sized_rangeISC_EEvE4typeELPv0EEEOSC_ Line | Count | Source | 1587 | 8.32k | constexpr string_view_wrapper(Range&& r) : sv(ranges::data(r), r.size()) | 1588 | 8.32k | { | 1589 | 8.32k | } |
|
1590 | | |
1591 | | template <typename Range, |
1592 | | std::enable_if_t<ranges::borrowed_range<Range> && |
1593 | | ranges::contiguous_range<Range> && |
1594 | | ranges::sized_range<Range>>* = nullptr> |
1595 | | void assign(Range&& r) |
1596 | | { |
1597 | | sv = string_view_type{ranges::data(r), r.size()}; |
1598 | | } |
1599 | | |
1600 | | constexpr auto view() const |
1601 | 82.3k | { |
1602 | 82.3k | return sv; |
1603 | 82.3k | } scn::v4::impl::string_view_wrapper<char>::view() const Line | Count | Source | 1601 | 69.5k | { | 1602 | 69.5k | return sv; | 1603 | 69.5k | } |
scn::v4::impl::string_view_wrapper<wchar_t>::view() const Line | Count | Source | 1601 | 12.7k | { | 1602 | 12.7k | return sv; | 1603 | 12.7k | } |
|
1604 | | |
1605 | | constexpr bool stores_allocated_string() const |
1606 | 0 | { |
1607 | 0 | return false; |
1608 | 0 | } Unexecuted instantiation: scn::v4::impl::string_view_wrapper<char>::stores_allocated_string() const Unexecuted instantiation: scn::v4::impl::string_view_wrapper<wchar_t>::stores_allocated_string() const |
1609 | | |
1610 | | [[noreturn]] string_type get_allocated_string() const |
1611 | | { |
1612 | | SCN_EXPECT(false); |
1613 | | SCN_UNREACHABLE; |
1614 | | } |
1615 | | |
1616 | | string_view_type sv; |
1617 | | }; |
1618 | | |
1619 | | template <typename Range> |
1620 | | string_view_wrapper(Range) |
1621 | | -> string_view_wrapper<detail::char_t<detail::remove_cvref_t<Range>>>; |
1622 | | |
1623 | | template <typename CharT> |
1624 | | class contiguous_range_factory { |
1625 | | public: |
1626 | | using char_type = CharT; |
1627 | | using string_type = std::basic_string<CharT>; |
1628 | | using string_view_type = std::basic_string_view<CharT>; |
1629 | | |
1630 | 5.25k | contiguous_range_factory() = default; scn::v4::impl::contiguous_range_factory<char>::contiguous_range_factory() Line | Count | Source | 1630 | 2.64k | contiguous_range_factory() = default; |
scn::v4::impl::contiguous_range_factory<wchar_t>::contiguous_range_factory() Line | Count | Source | 1630 | 2.61k | contiguous_range_factory() = default; |
|
1631 | | |
1632 | | template <typename Range, |
1633 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1634 | | contiguous_range_factory(Range&& range) |
1635 | 3.28k | { |
1636 | 3.28k | emplace_range(SCN_FWD(range)); |
1637 | 3.28k | } Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v44impl24contiguous_range_factoryIcEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1635 | 2.35k | { | 1636 | 2.35k | emplace_range(SCN_FWD(range)); | 1637 | 2.35k | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSG_ _ZN3scn2v44impl24contiguous_range_factoryIwEC2INS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEOSH_ Line | Count | Source | 1635 | 924 | { | 1636 | 924 | emplace_range(SCN_FWD(range)); | 1637 | 924 | } |
|
1638 | | |
1639 | | contiguous_range_factory(string_view_wrapper<CharT> svw) |
1640 | | : m_storage(std::nullopt), m_view(svw.view()) |
1641 | | { |
1642 | | } |
1643 | | |
1644 | | contiguous_range_factory(const contiguous_range_factory&) = delete; |
1645 | | contiguous_range_factory& operator=(const contiguous_range_factory&) = |
1646 | | delete; |
1647 | | |
1648 | | contiguous_range_factory(contiguous_range_factory&& other) |
1649 | | : m_storage(SCN_MOVE(other.m_storage)) |
1650 | | { |
1651 | | if (m_storage) { |
1652 | | m_view = *m_storage; |
1653 | | } |
1654 | | else { |
1655 | | m_view = other.m_view; |
1656 | | } |
1657 | | } |
1658 | | contiguous_range_factory& operator=(contiguous_range_factory&& other) |
1659 | | { |
1660 | | m_storage = SCN_MOVE(other.m_storage); |
1661 | | if (m_storage) { |
1662 | | m_view = *m_storage; |
1663 | | } |
1664 | | else { |
1665 | | m_view = other.m_view; |
1666 | | } |
1667 | | return *this; |
1668 | | } |
1669 | | |
1670 | 8.53k | ~contiguous_range_factory() = default; scn::v4::impl::contiguous_range_factory<char>::~contiguous_range_factory() Line | Count | Source | 1670 | 5.00k | ~contiguous_range_factory() = default; |
scn::v4::impl::contiguous_range_factory<wchar_t>::~contiguous_range_factory() Line | Count | Source | 1670 | 3.53k | ~contiguous_range_factory() = default; |
|
1671 | | |
1672 | | template <typename Range, |
1673 | | std::enable_if_t<ranges::forward_range<Range>>* = nullptr> |
1674 | | void assign(Range&& range) |
1675 | 2.05k | { |
1676 | 2.05k | emplace_range(SCN_FWD(range)); |
1677 | 2.05k | } Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINS0_6ranges6detail9subrange_8subrangeIPKcSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1675 | 908 | { | 1676 | 908 | emplace_range(SCN_FWD(range)); | 1677 | 908 | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEESG_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSK_ Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorESC_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSG_ _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EESD_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSH_ Line | Count | Source | 1675 | 20 | { | 1676 | 20 | emplace_range(SCN_FWD(range)); | 1677 | 20 | } |
_ZN3scn2v44impl24contiguous_range_factoryIwE6assignINS0_6ranges6detail9subrange_8subrangeIPKwSA_EETnPNSt3__19enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSE_ Line | Count | Source | 1675 | 1.04k | { | 1676 | 1.04k | emplace_range(SCN_FWD(range)); | 1677 | 1.04k | } |
Unexecuted instantiation: _ZN3scn2v44impl24contiguous_range_factoryIcE6assignINSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ _ZN3scn2v44impl24contiguous_range_factoryIwE6assignINSt3__112basic_stringIwNS5_11char_traitsIwEENS5_9allocatorIwEEEETnPNS5_9enable_ifIXsr6rangesE13forward_rangeIT_EEvE4typeELPv0EEEvOSD_ Line | Count | Source | 1675 | 80 | { | 1676 | 80 | emplace_range(SCN_FWD(range)); | 1677 | 80 | } |
|
1678 | | |
1679 | | string_view_type view() const |
1680 | 8.26k | { |
1681 | 8.26k | return m_view; |
1682 | 8.26k | } scn::v4::impl::contiguous_range_factory<char>::view() const Line | Count | Source | 1680 | 4.66k | { | 1681 | 4.66k | return m_view; | 1682 | 4.66k | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::view() const Line | Count | Source | 1680 | 3.60k | { | 1681 | 3.60k | return m_view; | 1682 | 3.60k | } |
|
1683 | | |
1684 | | constexpr bool stores_allocated_string() const |
1685 | 1.84k | { |
1686 | 1.84k | return m_storage.has_value(); |
1687 | 1.84k | } scn::v4::impl::contiguous_range_factory<char>::stores_allocated_string() const Line | Count | Source | 1685 | 980 | { | 1686 | 980 | return m_storage.has_value(); | 1687 | 980 | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::stores_allocated_string() const Line | Count | Source | 1685 | 860 | { | 1686 | 860 | return m_storage.has_value(); | 1687 | 860 | } |
|
1688 | | |
1689 | | string_type& get_allocated_string() & |
1690 | 948 | { |
1691 | 948 | SCN_EXPECT(stores_allocated_string()); |
1692 | 948 | return *m_storage; |
1693 | 948 | } scn::v4::impl::contiguous_range_factory<char>::get_allocated_string() & Line | Count | Source | 1690 | 490 | { | 1691 | 490 | SCN_EXPECT(stores_allocated_string()); | 1692 | 490 | return *m_storage; | 1693 | 490 | } |
scn::v4::impl::contiguous_range_factory<wchar_t>::get_allocated_string() & Line | Count | Source | 1690 | 458 | { | 1691 | 458 | SCN_EXPECT(stores_allocated_string()); | 1692 | 458 | return *m_storage; | 1693 | 458 | } |
|
1694 | | const string_type& get_allocated_string() const& |
1695 | | { |
1696 | | SCN_EXPECT(stores_allocated_string()); |
1697 | | return *m_storage; |
1698 | | } |
1699 | | string_type&& get_allocated_string() && |
1700 | | { |
1701 | | SCN_EXPECT(stores_allocated_string()); |
1702 | | return *m_storage; |
1703 | | } |
1704 | | |
1705 | | string_type& make_into_allocated_string() |
1706 | 0 | { |
1707 | 0 | if (stores_allocated_string()) { |
1708 | 0 | return get_allocated_string(); |
1709 | 0 | } |
1710 | | |
1711 | 0 | auto& str = m_storage.emplace(m_view.data(), m_view.size()); |
1712 | 0 | m_view = string_view_type{str.data(), str.size()}; |
1713 | 0 | return str; |
1714 | 0 | } Unexecuted instantiation: scn::v4::impl::contiguous_range_factory<char>::make_into_allocated_string() Unexecuted instantiation: scn::v4::impl::contiguous_range_factory<wchar_t>::make_into_allocated_string() |
1715 | | |
1716 | | private: |
1717 | | template <typename Range> |
1718 | | void emplace_range(Range&& range) |
1719 | 5.33k | { |
1720 | 5.33k | using value_t = ranges::range_value_t<Range>; |
1721 | | |
1722 | | if constexpr (ranges::borrowed_range<Range> && |
1723 | | ranges::contiguous_range<Range> && |
1724 | 1.95k | ranges::sized_range<Range>) { |
1725 | 1.95k | m_storage.reset(); |
1726 | 1.95k | m_view = string_view_type{ranges::data(range), range.size()}; |
1727 | | } |
1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, |
1729 | 80 | std::basic_string<CharT>>) { |
1730 | 80 | m_storage.emplace(SCN_FWD(range)); |
1731 | 80 | m_view = string_view_type{*m_storage}; |
1732 | | } |
1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, |
1734 | | typename detail::basic_scan_buffer< |
1735 | | value_t>::forward_iterator> && |
1736 | 0 | ranges::common_range<Range>) { |
1737 | 0 | auto beg_seg = range.begin().contiguous_segment(); |
1738 | 0 | auto end_seg = range.end().contiguous_segment(); |
1739 | 0 | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != |
1740 | 0 | detail::to_address(end_seg.end()))) { |
1741 | 0 | auto& str = m_storage.emplace(); |
1742 | 0 | str.reserve(range.end().position() - range.begin().position()); |
1743 | 0 | std::copy(range.begin(), range.end(), std::back_inserter(str)); |
1744 | 0 | m_view = string_view_type{str}; |
1745 | 0 | return; |
1746 | 0 | } |
1747 | | |
1748 | 0 | m_view = detail::make_string_view_from_pointers(beg_seg.data(), |
1749 | 0 | end_seg.data()); |
1750 | 0 | m_storage.reset(); |
1751 | | } |
1752 | 3.30k | else { |
1753 | 3.30k | auto& str = m_storage.emplace(); |
1754 | | if constexpr (ranges::sized_range<Range>) { |
1755 | | str.reserve(range.size()); |
1756 | | } |
1757 | 3.30k | if constexpr (ranges::common_range<Range>) { |
1758 | 3.30k | std::copy(ranges::begin(range), ranges::end(range), |
1759 | 3.30k | std::back_inserter(str)); |
1760 | | } |
1761 | | else { |
1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); |
1763 | | ++it) { |
1764 | | str.push_back(*it); |
1765 | | } |
1766 | | } |
1767 | 3.30k | m_view = string_view_type{str}; |
1768 | 3.30k | } |
1769 | 5.33k | } Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>&&) void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1719 | 2.35k | { | 1720 | 2.35k | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | 2.35k | else { | 1753 | 2.35k | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | 2.35k | if constexpr (ranges::common_range<Range>) { | 1758 | 2.35k | std::copy(ranges::begin(range), ranges::end(range), | 1759 | 2.35k | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | 2.35k | m_view = string_view_type{str}; | 1768 | 2.35k | } | 1769 | 2.35k | } |
void scn::v4::impl::contiguous_range_factory<char>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1719 | 908 | { | 1720 | 908 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | 908 | ranges::sized_range<Range>) { | 1725 | 908 | m_storage.reset(); | 1726 | 908 | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 908 | } |
Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1719 | 944 | { | 1720 | 944 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | 944 | else { | 1753 | 944 | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | 944 | if constexpr (ranges::common_range<Range>) { | 1758 | 944 | std::copy(ranges::begin(range), ranges::end(range), | 1759 | 944 | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | 944 | m_view = string_view_type{str}; | 1768 | 944 | } | 1769 | 944 | } |
void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1719 | 1.04k | { | 1720 | 1.04k | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | 1.04k | ranges::sized_range<Range>) { | 1725 | 1.04k | m_storage.reset(); | 1726 | 1.04k | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | | std::basic_string<CharT>>) { | 1730 | | m_storage.emplace(SCN_FWD(range)); | 1731 | | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 1.04k | } |
Unexecuted instantiation: void scn::v4::impl::contiguous_range_factory<char>::emplace_range<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&) void scn::v4::impl::contiguous_range_factory<wchar_t>::emplace_range<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&&) Line | Count | Source | 1719 | 80 | { | 1720 | 80 | using value_t = ranges::range_value_t<Range>; | 1721 | | | 1722 | | if constexpr (ranges::borrowed_range<Range> && | 1723 | | ranges::contiguous_range<Range> && | 1724 | | ranges::sized_range<Range>) { | 1725 | | m_storage.reset(); | 1726 | | m_view = string_view_type{ranges::data(range), range.size()}; | 1727 | | } | 1728 | | else if constexpr (std::is_same_v<detail::remove_cvref_t<Range>, | 1729 | 80 | std::basic_string<CharT>>) { | 1730 | 80 | m_storage.emplace(SCN_FWD(range)); | 1731 | 80 | m_view = string_view_type{*m_storage}; | 1732 | | } | 1733 | | else if constexpr (std::is_same_v<ranges::iterator_t<Range>, | 1734 | | typename detail::basic_scan_buffer< | 1735 | | value_t>::forward_iterator> && | 1736 | | ranges::common_range<Range>) { | 1737 | | auto beg_seg = range.begin().contiguous_segment(); | 1738 | | auto end_seg = range.end().contiguous_segment(); | 1739 | | if (SCN_UNLIKELY(detail::to_address(beg_seg.end()) != | 1740 | | detail::to_address(end_seg.end()))) { | 1741 | | auto& str = m_storage.emplace(); | 1742 | | str.reserve(range.end().position() - range.begin().position()); | 1743 | | std::copy(range.begin(), range.end(), std::back_inserter(str)); | 1744 | | m_view = string_view_type{str}; | 1745 | | return; | 1746 | | } | 1747 | | | 1748 | | m_view = detail::make_string_view_from_pointers(beg_seg.data(), | 1749 | | end_seg.data()); | 1750 | | m_storage.reset(); | 1751 | | } | 1752 | | else { | 1753 | | auto& str = m_storage.emplace(); | 1754 | | if constexpr (ranges::sized_range<Range>) { | 1755 | | str.reserve(range.size()); | 1756 | | } | 1757 | | if constexpr (ranges::common_range<Range>) { | 1758 | | std::copy(ranges::begin(range), ranges::end(range), | 1759 | | std::back_inserter(str)); | 1760 | | } | 1761 | | else { | 1762 | | for (auto it = ranges::begin(range); it != ranges::end(range); | 1763 | | ++it) { | 1764 | | str.push_back(*it); | 1765 | | } | 1766 | | } | 1767 | | m_view = string_view_type{str}; | 1768 | | } | 1769 | 80 | } |
|
1770 | | |
1771 | | std::optional<string_type> m_storage{std::nullopt}; |
1772 | | string_view_type m_view{}; |
1773 | | }; |
1774 | | |
1775 | | template <typename Range> |
1776 | | contiguous_range_factory(Range) |
1777 | | -> contiguous_range_factory<detail::char_t<detail::remove_cvref_t<Range>>>; |
1778 | | |
1779 | | template <typename Range> |
1780 | | auto make_contiguous_buffer(Range&& range) |
1781 | 54.0k | { |
1782 | | if constexpr (ranges::borrowed_range<Range> && |
1783 | | ranges::contiguous_range<Range> && |
1784 | 50.7k | ranges::sized_range<Range>) { |
1785 | 50.7k | return string_view_wrapper{SCN_FWD(range)}; |
1786 | | } |
1787 | 3.28k | else { |
1788 | 3.28k | return contiguous_range_factory{SCN_FWD(range)}; |
1789 | 3.28k | } |
1790 | 54.0k | } Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::detail::basic_scan_buffer<char>::forward_iterator>&&) auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> >&&) Line | Count | Source | 1781 | 2.35k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | | ranges::sized_range<Range>) { | 1785 | | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | 2.35k | else { | 1788 | 2.35k | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | 2.35k | } | 1790 | 2.35k | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&&) Line | Count | Source | 1781 | 13.4k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 13.4k | ranges::sized_range<Range>) { | 1785 | 13.4k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 13.4k | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&>(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>&) Line | Count | Source | 1781 | 18.2k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 18.2k | ranges::sized_range<Range>) { | 1785 | 18.2k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 18.2k | } |
Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >&&) Unexecuted instantiation: auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator>&&) auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> >&&) Line | Count | Source | 1781 | 924 | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | | ranges::sized_range<Range>) { | 1785 | | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | 924 | else { | 1788 | 924 | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | 924 | } | 1790 | 924 | } |
auto scn::v4::impl::make_contiguous_buffer<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>&&) Line | Count | Source | 1781 | 10.8k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 10.8k | ranges::sized_range<Range>) { | 1785 | 10.8k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 10.8k | } |
auto scn::v4::impl::make_contiguous_buffer<std::__1::basic_string_view<char, std::__1::char_traits<char> >&>(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 1781 | 8.32k | { | 1782 | | if constexpr (ranges::borrowed_range<Range> && | 1783 | | ranges::contiguous_range<Range> && | 1784 | 8.32k | ranges::sized_range<Range>) { | 1785 | 8.32k | return string_view_wrapper{SCN_FWD(range)}; | 1786 | | } | 1787 | | else { | 1788 | | return contiguous_range_factory{SCN_FWD(range)}; | 1789 | | } | 1790 | 8.32k | } |
|
1791 | | } // namespace impl |
1792 | | |
1793 | | ///////////////////////////////////////////////////////////////// |
1794 | | // locale stuff |
1795 | | ///////////////////////////////////////////////////////////////// |
1796 | | |
1797 | | #if !SCN_DISABLE_LOCALE |
1798 | | |
1799 | | namespace detail { |
1800 | | extern template locale_ref::locale_ref(const std::locale&); |
1801 | | extern template auto locale_ref::get() const -> std::locale; |
1802 | | } // namespace detail |
1803 | | |
1804 | | namespace impl { |
1805 | | template <typename Facet> |
1806 | | const Facet& get_facet(detail::locale_ref loc) |
1807 | | { |
1808 | | auto stdloc = loc.get<std::locale>(); |
1809 | | SCN_EXPECT(std::has_facet<Facet>(stdloc)); |
1810 | | return std::use_facet<Facet>(stdloc); |
1811 | | } |
1812 | | |
1813 | | template <typename Facet> |
1814 | | const Facet& get_or_add_facet(std::locale& stdloc) |
1815 | 262 | { |
1816 | 262 | if (std::has_facet<Facet>(stdloc)) { |
1817 | 262 | return std::use_facet<Facet>(stdloc); |
1818 | 262 | } |
1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); |
1820 | 0 | return std::use_facet<Facet>(stdloc); |
1821 | 262 | } std::__1::numpunct<char> const& scn::v4::impl::get_or_add_facet<std::__1::numpunct<char> >(std::__1::locale&) Line | Count | Source | 1815 | 94 | { | 1816 | 94 | if (std::has_facet<Facet>(stdloc)) { | 1817 | 94 | return std::use_facet<Facet>(stdloc); | 1818 | 94 | } | 1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1820 | 0 | return std::use_facet<Facet>(stdloc); | 1821 | 94 | } |
std::__1::numpunct<wchar_t> const& scn::v4::impl::get_or_add_facet<std::__1::numpunct<wchar_t> >(std::__1::locale&) Line | Count | Source | 1815 | 168 | { | 1816 | 168 | if (std::has_facet<Facet>(stdloc)) { | 1817 | 168 | return std::use_facet<Facet>(stdloc); | 1818 | 168 | } | 1819 | 0 | stdloc = std::locale(stdloc, new Facet{}); | 1820 | 0 | return std::use_facet<Facet>(stdloc); | 1821 | 168 | } |
|
1822 | | |
1823 | | class clocale_restorer { |
1824 | | public: |
1825 | 100 | clocale_restorer(int cat) : m_category(cat) |
1826 | 100 | { |
1827 | 100 | const auto loc = std::setlocale(cat, nullptr); |
1828 | 100 | std::strcpy(m_locbuf, loc); |
1829 | 100 | } |
1830 | | ~clocale_restorer() |
1831 | 100 | { |
1832 | | // Restore locale to what it was before |
1833 | 100 | std::setlocale(m_category, m_locbuf); |
1834 | 100 | } |
1835 | | |
1836 | | clocale_restorer(const clocale_restorer&) = delete; |
1837 | | clocale_restorer(clocale_restorer&&) = delete; |
1838 | | clocale_restorer& operator=(const clocale_restorer&) = delete; |
1839 | | clocale_restorer& operator=(clocale_restorer&&) = delete; |
1840 | | |
1841 | | private: |
1842 | | // For whatever reason, this cannot be stored in the heap if |
1843 | | // setlocale hasn't been called before, or msan errors with |
1844 | | // 'use-of-unitialized-value' when resetting the locale |
1845 | | // back. POSIX specifies that the content of loc may not be |
1846 | | // static, so we need to save it ourselves |
1847 | | char m_locbuf[64] = {0}; |
1848 | | |
1849 | | int m_category; |
1850 | | }; |
1851 | | |
1852 | | class set_clocale_classic_guard { |
1853 | | public: |
1854 | 100 | set_clocale_classic_guard(int cat) : m_restorer(cat) |
1855 | 100 | { |
1856 | 100 | std::setlocale(cat, "C"); |
1857 | 100 | } |
1858 | | |
1859 | | private: |
1860 | | clocale_restorer m_restorer; |
1861 | | }; |
1862 | | } // namespace impl |
1863 | | |
1864 | | namespace impl { |
1865 | | struct classic_with_thsep_tag {}; |
1866 | | |
1867 | | template <typename CharT> |
1868 | | struct localized_number_formatting_options { |
1869 | 2.62k | localized_number_formatting_options() = default; scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options() Line | Count | Source | 1869 | 1.32k | localized_number_formatting_options() = default; |
scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options() Line | Count | Source | 1869 | 1.30k | localized_number_formatting_options() = default; |
|
1870 | | |
1871 | | localized_number_formatting_options(classic_with_thsep_tag) |
1872 | 0 | { |
1873 | 0 | grouping = "\3"; |
1874 | 0 | thousands_sep = CharT{','}; |
1875 | 0 | } Unexecuted instantiation: scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v4::impl::classic_with_thsep_tag) Unexecuted instantiation: scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v4::impl::classic_with_thsep_tag) |
1876 | | |
1877 | | localized_number_formatting_options(detail::locale_ref loc) |
1878 | 206 | { |
1879 | 206 | auto stdloc = loc.get<std::locale>(); |
1880 | 206 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); |
1881 | 206 | grouping = numpunct.grouping(); |
1882 | 206 | thousands_sep = |
1883 | 206 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; |
1884 | 206 | decimal_point = numpunct.decimal_point(); |
1885 | 206 | } scn::v4::impl::localized_number_formatting_options<char>::localized_number_formatting_options(scn::v4::detail::locale_ref) Line | Count | Source | 1878 | 66 | { | 1879 | 66 | auto stdloc = loc.get<std::locale>(); | 1880 | 66 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1881 | 66 | grouping = numpunct.grouping(); | 1882 | 66 | thousands_sep = | 1883 | 66 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1884 | 66 | decimal_point = numpunct.decimal_point(); | 1885 | 66 | } |
scn::v4::impl::localized_number_formatting_options<wchar_t>::localized_number_formatting_options(scn::v4::detail::locale_ref) Line | Count | Source | 1878 | 140 | { | 1879 | 140 | auto stdloc = loc.get<std::locale>(); | 1880 | 140 | const auto& numpunct = get_or_add_facet<std::numpunct<CharT>>(stdloc); | 1881 | 140 | grouping = numpunct.grouping(); | 1882 | 140 | thousands_sep = | 1883 | 140 | grouping.length() != 0 ? numpunct.thousands_sep() : CharT{0}; | 1884 | 140 | decimal_point = numpunct.decimal_point(); | 1885 | 140 | } |
|
1886 | | |
1887 | | std::string grouping{}; |
1888 | | CharT thousands_sep{0}; |
1889 | | CharT decimal_point{CharT{'.'}}; |
1890 | | }; |
1891 | | } // namespace impl |
1892 | | |
1893 | | #else |
1894 | | |
1895 | | namespace impl { |
1896 | | struct set_clocale_classic_guard { |
1897 | | set_clocale_classic_guard(int) {} |
1898 | | }; |
1899 | | |
1900 | | struct classic_with_thsep_tag {}; |
1901 | | |
1902 | | template <typename CharT> |
1903 | | struct localized_number_formatting_options { |
1904 | | localized_number_formatting_options() = default; |
1905 | | |
1906 | | localized_number_formatting_options(classic_with_thsep_tag) |
1907 | | { |
1908 | | grouping = "\3"; |
1909 | | thousands_sep = CharT{','}; |
1910 | | } |
1911 | | |
1912 | | std::string grouping{}; |
1913 | | CharT thousands_sep{0}; |
1914 | | CharT decimal_point{CharT{'.'}}; |
1915 | | }; |
1916 | | } // namespace impl |
1917 | | |
1918 | | #endif // !SCN_DISABLE_LOCALE |
1919 | | |
1920 | | ///////////////////////////////////////////////////////////////// |
1921 | | // Range reading algorithms |
1922 | | ///////////////////////////////////////////////////////////////// |
1923 | | |
1924 | | namespace impl { |
1925 | | |
1926 | | std::string_view::iterator find_classic_space_narrow_fast( |
1927 | | std::string_view source); |
1928 | | |
1929 | | std::string_view::iterator find_classic_nonspace_narrow_fast( |
1930 | | std::string_view source); |
1931 | | |
1932 | | std::string_view::iterator find_nondecimal_digit_narrow_fast( |
1933 | | std::string_view source); |
1934 | | |
1935 | | template <typename Range> |
1936 | | auto read_all(Range range) -> ranges::const_iterator_t<Range> |
1937 | 2.19k | { |
1938 | 2.19k | return ranges::next(range.begin(), range.end()); |
1939 | 2.19k | } _ZN3scn2v44impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1937 | 908 | { | 1938 | 908 | return ranges::next(range.begin(), range.end()); | 1939 | 908 | } |
Unexecuted instantiation: _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1937 | 168 | { | 1938 | 168 | return ranges::next(range.begin(), range.end()); | 1939 | 168 | } |
_ZN3scn2v44impl8read_allINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 1937 | 1.03k | { | 1938 | 1.03k | return ranges::next(range.begin(), range.end()); | 1939 | 1.03k | } |
Unexecuted instantiation: _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ _ZN3scn2v44impl8read_allINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 1937 | 78 | { | 1938 | 78 | return ranges::next(range.begin(), range.end()); | 1939 | 78 | } |
|
1940 | | |
1941 | | template <typename Range> |
1942 | | auto read_code_unit(Range range) |
1943 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1944 | 18.2k | { |
1945 | 18.2k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
1946 | 14 | return unexpected(e); |
1947 | 14 | } |
1948 | | |
1949 | 18.1k | return ranges::next(range.begin()); |
1950 | 18.2k | } Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1944 | 2.67k | { | 1945 | 2.67k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 2.67k | return ranges::next(range.begin()); | 1950 | 2.67k | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1944 | 40 | { | 1945 | 40 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 40 | return ranges::next(range.begin()); | 1950 | 40 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1944 | 6.51k | { | 1945 | 6.51k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 6.51k | return ranges::next(range.begin()); | 1950 | 6.51k | } |
Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl14read_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 1944 | 1.69k | { | 1945 | 1.69k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 1.69k | return ranges::next(range.begin()); | 1950 | 1.69k | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 1944 | 110 | { | 1945 | 110 | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 14 | return unexpected(e); | 1947 | 14 | } | 1948 | | | 1949 | 96 | return ranges::next(range.begin()); | 1950 | 110 | } |
_ZN3scn2v44impl14read_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 1944 | 7.17k | { | 1945 | 7.17k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 1946 | 0 | return unexpected(e); | 1947 | 0 | } | 1948 | | | 1949 | 7.17k | return ranges::next(range.begin()); | 1950 | 7.17k | } |
Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEESB_ Unexecuted instantiation: _ZN3scn2v44impl14read_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEESB_ |
1951 | | |
1952 | | template <typename Range> |
1953 | | auto read_exactly_n_code_units(Range range, std::ptrdiff_t count) |
1954 | | -> eof_expected<ranges::const_iterator_t<Range>> |
1955 | 55.8k | { |
1956 | 55.8k | SCN_EXPECT(count >= 0); |
1957 | | |
1958 | 55.8k | if constexpr (ranges::sized_range<Range>) { |
1959 | 44.4k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); |
1960 | 44.4k | if (sz < count) { |
1961 | 710 | return unexpected(eof_error::eof); |
1962 | 710 | } |
1963 | | |
1964 | 43.6k | return ranges::next(range.begin(), count); |
1965 | | } |
1966 | 11.4k | else { |
1967 | 11.4k | auto it = range.begin(); |
1968 | 11.4k | if (guaranteed_minimum_size(range) >= count) { |
1969 | 0 | return ranges::next(it, count); |
1970 | 0 | } |
1971 | | |
1972 | 43.8k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { |
1973 | 33.3k | if (it == range.end()) { |
1974 | 1.00k | return unexpected(eof_error::eof); |
1975 | 1.00k | } |
1976 | 33.3k | } |
1977 | | |
1978 | 10.4k | return it; |
1979 | 11.4k | } |
1980 | 55.8k | } Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1955 | 38.0k | { | 1956 | 38.0k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | 38.0k | if constexpr (ranges::sized_range<Range>) { | 1959 | 38.0k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | 38.0k | if (sz < count) { | 1961 | 530 | return unexpected(eof_error::eof); | 1962 | 530 | } | 1963 | | | 1964 | 37.5k | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | | else { | 1967 | | auto it = range.begin(); | 1968 | | if (guaranteed_minimum_size(range) >= count) { | 1969 | | return ranges::next(it, count); | 1970 | | } | 1971 | | | 1972 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | | if (it == range.end()) { | 1974 | | return unexpected(eof_error::eof); | 1975 | | } | 1976 | | } | 1977 | | | 1978 | | return it; | 1979 | | } | 1980 | 38.0k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1955 | 7.58k | { | 1956 | 7.58k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 7.58k | else { | 1967 | 7.58k | auto it = range.begin(); | 1968 | 7.58k | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 28.0k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 20.8k | if (it == range.end()) { | 1974 | 340 | return unexpected(eof_error::eof); | 1975 | 340 | } | 1976 | 20.8k | } | 1977 | | | 1978 | 7.24k | return it; | 1979 | 7.58k | } | 1980 | 7.58k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_l Line | Count | Source | 1955 | 6.32k | { | 1956 | 6.32k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | 6.32k | if constexpr (ranges::sized_range<Range>) { | 1959 | 6.32k | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | 6.32k | if (sz < count) { | 1961 | 180 | return unexpected(eof_error::eof); | 1962 | 180 | } | 1963 | | | 1964 | 6.14k | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | | else { | 1967 | | auto it = range.begin(); | 1968 | | if (guaranteed_minimum_size(range) >= count) { | 1969 | | return ranges::next(it, count); | 1970 | | } | 1971 | | | 1972 | | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | | if (it == range.end()) { | 1974 | | return unexpected(eof_error::eof); | 1975 | | } | 1976 | | } | 1977 | | | 1978 | | return it; | 1979 | | } | 1980 | 6.32k | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESO_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEEESS_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_l Line | Count | Source | 1955 | 1.09k | { | 1956 | 1.09k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 1.09k | else { | 1967 | 1.09k | auto it = range.begin(); | 1968 | 1.09k | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 3.52k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 2.63k | if (it == range.end()) { | 1974 | 208 | return unexpected(eof_error::eof); | 1975 | 208 | } | 1976 | 2.63k | } | 1977 | | | 1978 | 888 | return it; | 1979 | 1.09k | } | 1980 | 1.09k | } |
_ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l Line | Count | Source | 1955 | 1.32k | { | 1956 | 1.32k | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 1.32k | else { | 1967 | 1.32k | auto it = range.begin(); | 1968 | 1.32k | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 5.16k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 3.98k | if (it == range.end()) { | 1974 | 144 | return unexpected(eof_error::eof); | 1975 | 144 | } | 1976 | 3.98k | } | 1977 | | | 1978 | 1.17k | return it; | 1979 | 1.32k | } | 1980 | 1.32k | } |
_ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1955 | 944 | { | 1956 | 944 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 944 | else { | 1967 | 944 | auto it = range.begin(); | 1968 | 944 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 4.71k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 3.95k | if (it == range.end()) { | 1974 | 190 | return unexpected(eof_error::eof); | 1975 | 190 | } | 1976 | 3.95k | } | 1977 | | | 1978 | 754 | return it; | 1979 | 944 | } | 1980 | 944 | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESP_l _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_l Line | Count | Source | 1955 | 480 | { | 1956 | 480 | SCN_EXPECT(count >= 0); | 1957 | | | 1958 | | if constexpr (ranges::sized_range<Range>) { | 1959 | | const auto sz = static_cast<std::ptrdiff_t>(range.size()); | 1960 | | if (sz < count) { | 1961 | | return unexpected(eof_error::eof); | 1962 | | } | 1963 | | | 1964 | | return ranges::next(range.begin(), count); | 1965 | | } | 1966 | 480 | else { | 1967 | 480 | auto it = range.begin(); | 1968 | 480 | if (guaranteed_minimum_size(range) >= count) { | 1969 | 0 | return ranges::next(it, count); | 1970 | 0 | } | 1971 | | | 1972 | 2.34k | for (std::ptrdiff_t i = 0; i < count; ++i, (void)++it) { | 1973 | 1.98k | if (it == range.end()) { | 1974 | 118 | return unexpected(eof_error::eof); | 1975 | 118 | } | 1976 | 1.98k | } | 1977 | | | 1978 | 362 | return it; | 1979 | 480 | } | 1980 | 480 | } |
Unexecuted instantiation: _ZN3scn2v44impl25read_exactly_n_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_l |
1981 | | |
1982 | | template <typename Iterator, typename CharT> |
1983 | | struct read_code_point_into_result { |
1984 | | Iterator iterator; |
1985 | | std::basic_string<CharT> codepoint; |
1986 | | |
1987 | | bool is_valid() const |
1988 | 740k | { |
1989 | 740k | return !codepoint.empty(); |
1990 | 740k | } Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, char>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, char>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >, char>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, char>::is_valid() const Line | Count | Source | 1988 | 36.5k | { | 1989 | 36.5k | return !codepoint.empty(); | 1990 | 36.5k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, char>::is_valid() const scn::v4::impl::read_code_point_into_result<char const*, char>::is_valid() const Line | Count | Source | 1988 | 596k | { | 1989 | 596k | return !codepoint.empty(); | 1990 | 596k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >, wchar_t>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, wchar_t>::is_valid() const Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >, wchar_t>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, wchar_t>::is_valid() const Line | Count | Source | 1988 | 16.4k | { | 1989 | 16.4k | return !codepoint.empty(); | 1990 | 16.4k | } |
scn::v4::impl::read_code_point_into_result<wchar_t const*, wchar_t>::is_valid() const Line | Count | Source | 1988 | 84.4k | { | 1989 | 84.4k | return !codepoint.empty(); | 1990 | 84.4k | } |
Unexecuted instantiation: scn::v4::impl::read_code_point_into_result<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, wchar_t>::is_valid() const scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >, char>::is_valid() const Line | Count | Source | 1988 | 3.93k | { | 1989 | 3.93k | return !codepoint.empty(); | 1990 | 3.93k | } |
scn::v4::impl::read_code_point_into_result<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >, wchar_t>::is_valid() const Line | Count | Source | 1988 | 2.13k | { | 1989 | 2.13k | return !codepoint.empty(); | 1990 | 2.13k | } |
|
1991 | | }; |
1992 | | |
1993 | | template <typename Range> |
1994 | | auto read_code_point_into(Range range) |
1995 | | -> read_code_point_into_result<ranges::const_iterator_t<Range>, |
1996 | | detail::char_t<Range>> |
1997 | 740k | { |
1998 | 740k | SCN_EXPECT(!is_range_eof(range)); |
1999 | 740k | using string_type = std::basic_string<detail::char_t<Range>>; |
2000 | | |
2001 | 740k | auto it = range.begin(); |
2002 | 740k | const auto len = detail::code_point_length_by_starting_code_unit(*it); |
2003 | | |
2004 | 740k | if (SCN_UNLIKELY(len == 0)) { |
2005 | 6.62k | ++it; |
2006 | 6.62k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); |
2007 | 6.62k | return {it, {}}; |
2008 | 6.62k | } |
2009 | | |
2010 | 733k | if (len == 1) { |
2011 | 628k | ++it; |
2012 | 628k | return {it, string_type(1, *range.begin())}; |
2013 | 628k | } |
2014 | | |
2015 | 105k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); |
2016 | 105k | return {it, string_type{range.begin(), it}}; |
2017 | 733k | } Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1997 | 36.5k | { | 1998 | 36.5k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 36.5k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 36.5k | auto it = range.begin(); | 2002 | 36.5k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 36.5k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 5.40k | ++it; | 2006 | 5.40k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 5.40k | return {it, {}}; | 2008 | 5.40k | } | 2009 | | | 2010 | 31.1k | if (len == 1) { | 2011 | 27.4k | ++it; | 2012 | 27.4k | return {it, string_type(1, *range.begin())}; | 2013 | 27.4k | } | 2014 | | | 2015 | 3.64k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 3.64k | return {it, string_type{range.begin(), it}}; | 2017 | 31.1k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1997 | 596k | { | 1998 | 596k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 596k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 596k | auto it = range.begin(); | 2002 | 596k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 596k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 1.21k | ++it; | 2006 | 1.21k | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 1.21k | return {it, {}}; | 2008 | 1.21k | } | 2009 | | | 2010 | 595k | if (len == 1) { | 2011 | 494k | ++it; | 2012 | 494k | return {it, string_type(1, *range.begin())}; | 2013 | 494k | } | 2014 | | | 2015 | 100k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 100k | return {it, string_type{range.begin(), it}}; | 2017 | 595k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_INS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENSF_ISH_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEENSC_ISI_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISS_EEE4typeEEESS_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENDTcl4implISO_EEE4typeEEESO_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISD_EEE4typeEEESD_ Line | Count | Source | 1997 | 84.4k | { | 1998 | 84.4k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 84.4k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 84.4k | auto it = range.begin(); | 2002 | 84.4k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 84.4k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 84.4k | if (len == 1) { | 2011 | 84.4k | ++it; | 2012 | 84.4k | return {it, string_type(1, *range.begin())}; | 2013 | 84.4k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 84.4k | } |
_ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISL_EEE4typeEEESL_ Line | Count | Source | 1997 | 16.4k | { | 1998 | 16.4k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 16.4k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 16.4k | auto it = range.begin(); | 2002 | 16.4k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 16.4k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 16.4k | if (len == 1) { | 2011 | 16.4k | ++it; | 2012 | 16.4k | return {it, string_type(1, *range.begin())}; | 2013 | 16.4k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 16.4k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISG_EEE4typeEEESG_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1997 | 3.93k | { | 1998 | 3.93k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 3.93k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 3.93k | auto it = range.begin(); | 2002 | 3.93k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 3.93k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 3.93k | if (len == 1) { | 2011 | 2.90k | ++it; | 2012 | 2.90k | return {it, string_type(1, *range.begin())}; | 2013 | 2.90k | } | 2014 | | | 2015 | 1.03k | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 1.03k | return {it, string_type{range.begin(), it}}; | 2017 | 3.93k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ _ZN3scn2v44impl20read_code_point_intoINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS8_IPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENSC_ISE_E8sentinelILb1EEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISP_EEE4typeEEESP_ Line | Count | Source | 1997 | 2.13k | { | 1998 | 2.13k | SCN_EXPECT(!is_range_eof(range)); | 1999 | 2.13k | using string_type = std::basic_string<detail::char_t<Range>>; | 2000 | | | 2001 | 2.13k | auto it = range.begin(); | 2002 | 2.13k | const auto len = detail::code_point_length_by_starting_code_unit(*it); | 2003 | | | 2004 | 2.13k | if (SCN_UNLIKELY(len == 0)) { | 2005 | 0 | ++it; | 2006 | 0 | it = get_start_for_next_code_point(ranges::subrange{it, range.end()}); | 2007 | 0 | return {it, {}}; | 2008 | 0 | } | 2009 | | | 2010 | 2.13k | if (len == 1) { | 2011 | 2.13k | ++it; | 2012 | 2.13k | return {it, string_type(1, *range.begin())}; | 2013 | 2.13k | } | 2014 | | | 2015 | 0 | ranges::advance(it, static_cast<std::ptrdiff_t>(len), range.end()); | 2016 | 0 | return {it, string_type{range.begin(), it}}; | 2017 | 2.13k | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISF_EEE4typeEEESF_ Unexecuted instantiation: _ZN3scn2v44impl20read_code_point_intoINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_27read_code_point_into_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEENDTcl4implISI_EEE4typeEEESI_ |
2018 | | |
2019 | | template <typename Range> |
2020 | | auto read_code_point(Range range) -> ranges::const_iterator_t<Range> |
2021 | | { |
2022 | | return read_code_point_into(range).iterator; |
2023 | | } |
2024 | | |
2025 | | template <typename Range> |
2026 | | auto read_exactly_n_code_points(Range range, std::ptrdiff_t count) |
2027 | | -> eof_expected<ranges::const_iterator_t<Range>> |
2028 | | { |
2029 | | SCN_EXPECT(count >= 0); |
2030 | | |
2031 | | if (count > 0) { |
2032 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
2033 | | return unexpected(e); |
2034 | | } |
2035 | | } |
2036 | | |
2037 | | auto it = range.begin(); |
2038 | | for (std::ptrdiff_t i = 0; i < count; ++i) { |
2039 | | auto rng = ranges::subrange{it, range.end()}; |
2040 | | |
2041 | | if (auto e = eof_check(rng); SCN_UNLIKELY(!e)) { |
2042 | | return unexpected(e); |
2043 | | } |
2044 | | |
2045 | | it = read_code_point(rng); |
2046 | | } |
2047 | | |
2048 | | return it; |
2049 | | } |
2050 | | |
2051 | | template <typename Range> |
2052 | | auto read_until_code_unit(Range range, |
2053 | | detail::mp_identity_t<detail::char_t<Range>> cu) |
2054 | | -> ranges::const_iterator_t<Range> |
2055 | 450 | { |
2056 | 450 | if constexpr (ranges::common_range<Range>) { |
2057 | 204 | return std::find(range.begin(), range.end(), cu); |
2058 | | } |
2059 | 246 | else { |
2060 | 246 | auto first = range.begin(); |
2061 | 5.40k | for (; first != range.end(); ++first) { |
2062 | 5.16k | if (*first == cu) { |
2063 | 12 | return first; |
2064 | 12 | } |
2065 | 5.16k | } |
2066 | 234 | return first; |
2067 | 246 | } |
2068 | 450 | } Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS8_11mp_identityINDTcl4implISH_EEE4typeEE4typeE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS7_11mp_identityINDTcl4implISF_EEE4typeEE4typeE _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS0_6detail11mp_identityINDTcl4implISE_EEE4typeEE4typeE Line | Count | Source | 2055 | 162 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find(range.begin(), range.end(), cu); | 2058 | | } | 2059 | 162 | else { | 2060 | 162 | auto first = range.begin(); | 2061 | 3.41k | for (; first != range.end(); ++first) { | 2062 | 3.25k | if (*first == cu) { | 2063 | 6 | return first; | 2064 | 6 | } | 2065 | 3.25k | } | 2066 | 156 | return first; | 2067 | 162 | } | 2068 | 162 | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS0_6detail11mp_identityINDTcl4implISC_EEE4typeEE4typeE Line | Count | Source | 2055 | 90 | { | 2056 | 90 | if constexpr (ranges::common_range<Range>) { | 2057 | 90 | return std::find(range.begin(), range.end(), cu); | 2058 | | } | 2059 | | else { | 2060 | | auto first = range.begin(); | 2061 | | for (; first != range.end(); ++first) { | 2062 | | if (*first == cu) { | 2063 | | return first; | 2064 | | } | 2065 | | } | 2066 | | return first; | 2067 | | } | 2068 | 90 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS8_11mp_identityINDTcl4implISH_EEE4typeEE4typeE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS7_11mp_identityINDTcl4implISF_EEE4typeEE4typeE _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS0_6detail11mp_identityINDTcl4implISE_EEE4typeEE4typeE Line | Count | Source | 2055 | 84 | { | 2056 | | if constexpr (ranges::common_range<Range>) { | 2057 | | return std::find(range.begin(), range.end(), cu); | 2058 | | } | 2059 | 84 | else { | 2060 | 84 | auto first = range.begin(); | 2061 | 1.98k | for (; first != range.end(); ++first) { | 2062 | 1.90k | if (*first == cu) { | 2063 | 6 | return first; | 2064 | 6 | } | 2065 | 1.90k | } | 2066 | 78 | return first; | 2067 | 84 | } | 2068 | 84 | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS0_6detail11mp_identityINDTcl4implISC_EEE4typeEE4typeE Line | Count | Source | 2055 | 114 | { | 2056 | 114 | if constexpr (ranges::common_range<Range>) { | 2057 | 114 | return std::find(range.begin(), range.end(), cu); | 2058 | | } | 2059 | | else { | 2060 | | auto first = range.begin(); | 2061 | | for (; first != range.end(); ++first) { | 2062 | | if (*first == cu) { | 2063 | | return first; | 2064 | | } | 2065 | | } | 2066 | | return first; | 2067 | | } | 2068 | 114 | } |
|
2069 | | |
2070 | | template <typename Range> |
2071 | | auto read_until_code_unit(Range range, |
2072 | | function_ref<bool(detail::char_t<Range>)> pred) |
2073 | | -> ranges::const_iterator_t<Range> |
2074 | 6.32k | { |
2075 | 6.32k | if constexpr (ranges::common_range<Range>) { |
2076 | 1.93k | return std::find_if(range.begin(), range.end(), pred); |
2077 | | } |
2078 | 4.39k | else { |
2079 | 4.39k | auto first = range.begin(); |
2080 | 14.7k | for (; first != range.end(); ++first) { |
2081 | 14.2k | if (pred(*first)) { |
2082 | 3.95k | return first; |
2083 | 3.95k | } |
2084 | 14.2k | } |
2085 | 440 | return first; |
2086 | 4.39k | } |
2087 | 6.32k | } Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2074 | 1.51k | { | 2075 | | if constexpr (ranges::common_range<Range>) { | 2076 | | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | 1.51k | else { | 2079 | 1.51k | auto first = range.begin(); | 2080 | 1.51k | for (; first != range.end(); ++first) { | 2081 | 1.51k | if (pred(*first)) { | 2082 | 1.51k | return first; | 2083 | 1.51k | } | 2084 | 1.51k | } | 2085 | 0 | return first; | 2086 | 1.51k | } | 2087 | 1.51k | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2074 | 636 | { | 2075 | 636 | if constexpr (ranges::common_range<Range>) { | 2076 | 636 | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | | else { | 2079 | | auto first = range.begin(); | 2080 | | for (; first != range.end(); ++first) { | 2081 | | if (pred(*first)) { | 2082 | | return first; | 2083 | | } | 2084 | | } | 2085 | | return first; | 2086 | | } | 2087 | 636 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2074 | 500 | { | 2075 | | if constexpr (ranges::common_range<Range>) { | 2076 | | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | 500 | else { | 2079 | 500 | auto first = range.begin(); | 2080 | 8.04k | for (; first != range.end(); ++first) { | 2081 | 7.82k | if (pred(*first)) { | 2082 | 280 | return first; | 2083 | 280 | } | 2084 | 7.82k | } | 2085 | 220 | return first; | 2086 | 500 | } | 2087 | 500 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_until_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2074 | 954 | { | 2075 | | if constexpr (ranges::common_range<Range>) { | 2076 | | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | 954 | else { | 2079 | 954 | auto first = range.begin(); | 2080 | 1.01k | for (; first != range.end(); ++first) { | 2081 | 984 | if (pred(*first)) { | 2082 | 924 | return first; | 2083 | 924 | } | 2084 | 984 | } | 2085 | 30 | return first; | 2086 | 954 | } | 2087 | 954 | } |
_ZN3scn2v44impl20read_until_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2074 | 1.29k | { | 2075 | 1.29k | if constexpr (ranges::common_range<Range>) { | 2076 | 1.29k | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | | else { | 2079 | | auto first = range.begin(); | 2080 | | for (; first != range.end(); ++first) { | 2081 | | if (pred(*first)) { | 2082 | | return first; | 2083 | | } | 2084 | | } | 2085 | | return first; | 2086 | | } | 2087 | 1.29k | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2074 | 408 | { | 2075 | | if constexpr (ranges::common_range<Range>) { | 2076 | | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | 408 | else { | 2079 | 408 | auto first = range.begin(); | 2080 | 2.56k | for (; first != range.end(); ++first) { | 2081 | 2.44k | if (pred(*first)) { | 2082 | 288 | return first; | 2083 | 288 | } | 2084 | 2.44k | } | 2085 | 120 | return first; | 2086 | 408 | } | 2087 | 408 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2074 | 516 | { | 2075 | | if constexpr (ranges::common_range<Range>) { | 2076 | | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | 516 | else { | 2079 | 516 | auto first = range.begin(); | 2080 | 768 | for (; first != range.end(); ++first) { | 2081 | 732 | if (pred(*first)) { | 2082 | 480 | return first; | 2083 | 480 | } | 2084 | 732 | } | 2085 | 36 | return first; | 2086 | 516 | } | 2087 | 516 | } |
_ZN3scn2v44impl20read_until_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2074 | 502 | { | 2075 | | if constexpr (ranges::common_range<Range>) { | 2076 | | return std::find_if(range.begin(), range.end(), pred); | 2077 | | } | 2078 | 502 | else { | 2079 | 502 | auto first = range.begin(); | 2080 | 800 | for (; first != range.end(); ++first) { | 2081 | 766 | if (pred(*first)) { | 2082 | 468 | return first; | 2083 | 468 | } | 2084 | 766 | } | 2085 | 34 | return first; | 2086 | 502 | } | 2087 | 502 | } |
|
2088 | | |
2089 | | template <typename Range> |
2090 | | auto read_while_code_unit(Range range, |
2091 | | detail::mp_identity_t<detail::char_t<Range>> cu) |
2092 | | -> ranges::const_iterator_t<Range> |
2093 | | { |
2094 | | auto first = range.begin(); |
2095 | | for (; first != range.end(); ++first) { |
2096 | | if (*first != cu) { |
2097 | | return first; |
2098 | | } |
2099 | | } |
2100 | | return first; |
2101 | | } |
2102 | | |
2103 | | template <typename Range> |
2104 | | auto read_while_code_unit(Range range, |
2105 | | function_ref<bool(detail::char_t<Range>)> pred) |
2106 | | -> ranges::const_iterator_t<Range> |
2107 | 5.85k | { |
2108 | 5.85k | return read_until_code_unit(range, std::not_fn(pred)); |
2109 | 5.85k | } Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2107 | 1.51k | { | 2108 | 1.51k | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 1.51k | } |
_ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2107 | 534 | { | 2108 | 534 | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 534 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2107 | 320 | { | 2108 | 320 | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 320 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbNDTcl4implISH_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbNDTcl4implISI_EEE4typeEENS1_12fnref_detail11qual_fn_sigISQ_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbNDTcl4implISN_EEE4typeEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISL_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl20read_while_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbNDTcl4implISA_EEE4typeEENS1_12fnref_detail11qual_fn_sigISI_E8functionEEE _ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbNDTcl4implISK_EEE4typeEENS1_12fnref_detail11qual_fn_sigISS_E8functionEEE Line | Count | Source | 2107 | 954 | { | 2108 | 954 | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 954 | } |
_ZN3scn2v44impl20read_while_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbNDTcl4implISC_EEE4typeEENS1_12fnref_detail11qual_fn_sigISK_E8functionEEE Line | Count | Source | 2107 | 1.21k | { | 2108 | 1.21k | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 1.21k | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbNDTcl4implISE_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2107 | 294 | { | 2108 | 294 | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 294 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2107 | 516 | { | 2108 | 516 | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 516 | } |
_ZN3scn2v44impl20read_while_code_unitINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbNDTcl4implISF_EEE4typeEENS1_12fnref_detail11qual_fn_sigISN_E8functionEEE Line | Count | Source | 2107 | 502 | { | 2108 | 502 | return read_until_code_unit(range, std::not_fn(pred)); | 2109 | 502 | } |
|
2110 | | |
2111 | | template <typename Range> |
2112 | | auto read_until1_code_unit(Range range, |
2113 | | function_ref<bool(detail::char_t<Range>)> pred) |
2114 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2115 | | { |
2116 | | auto it = read_until_code_unit(range, pred); |
2117 | | if (it == range.begin()) { |
2118 | | return unexpected(parse_error::error); |
2119 | | } |
2120 | | return it; |
2121 | | } |
2122 | | |
2123 | | template <typename Range> |
2124 | | auto read_while1_code_unit(Range range, |
2125 | | function_ref<bool(detail::char_t<Range>)> pred) |
2126 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2127 | 2.51k | { |
2128 | 2.51k | auto it = read_while_code_unit(range, pred); |
2129 | 2.51k | if (it == range.begin()) { |
2130 | 2.45k | return unexpected(parse_error::error); |
2131 | 2.45k | } |
2132 | 66 | return it; |
2133 | 2.51k | } Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 2127 | 1.51k | { | 2128 | 1.51k | auto it = read_while_code_unit(range, pred); | 2129 | 1.51k | if (it == range.begin()) { | 2130 | 1.51k | return unexpected(parse_error::error); | 2131 | 1.51k | } | 2132 | 0 | return it; | 2133 | 1.51k | } |
_ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2127 | 22 | { | 2128 | 22 | auto it = read_while_code_unit(range, pred); | 2129 | 22 | if (it == range.begin()) { | 2130 | 22 | return unexpected(parse_error::error); | 2131 | 22 | } | 2132 | 0 | return it; | 2133 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NS1_12function_refIFbNDTcl4implISO_EEE4typeEENS1_12fnref_detail11qual_fn_sigISX_E8functionEEE Unexecuted instantiation: _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NS1_12function_refIFbNDTcl4implISG_EEE4typeEENS1_12fnref_detail11qual_fn_sigISP_E8functionEEE _ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NS1_12function_refIFbNDTcl4implISL_EEE4typeEENS1_12fnref_detail11qual_fn_sigISU_E8functionEEE Line | Count | Source | 2127 | 954 | { | 2128 | 954 | auto it = read_while_code_unit(range, pred); | 2129 | 954 | if (it == range.begin()) { | 2130 | 894 | return unexpected(parse_error::error); | 2131 | 894 | } | 2132 | 60 | return it; | 2133 | 954 | } |
_ZN3scn2v44impl21read_while1_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NS1_12function_refIFbNDTcl4implISD_EEE4typeEENS1_12fnref_detail11qual_fn_sigISM_E8functionEEE Line | Count | Source | 2127 | 30 | { | 2128 | 30 | auto it = read_while_code_unit(range, pred); | 2129 | 30 | if (it == range.begin()) { | 2130 | 24 | return unexpected(parse_error::error); | 2131 | 24 | } | 2132 | 6 | return it; | 2133 | 30 | } |
|
2134 | | |
2135 | | template <typename Range, typename CodeUnits> |
2136 | | auto read_until_code_units(Range range, const CodeUnits& needle) |
2137 | | -> ranges::const_iterator_t<Range> |
2138 | 252 | { |
2139 | 252 | static_assert(ranges::common_range<CodeUnits>); |
2140 | | |
2141 | 252 | if constexpr (ranges::common_range<Range>) { |
2142 | 96 | return std::search(range.begin(), range.end(), needle.begin(), |
2143 | 96 | needle.end()); |
2144 | | } |
2145 | 156 | else { |
2146 | 156 | auto first = range.begin(); |
2147 | 2.17k | while (true) { |
2148 | 2.17k | auto it = first; |
2149 | 2.68k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { |
2150 | 2.68k | if (needle_it == needle.end()) { |
2151 | 102 | return first; |
2152 | 102 | } |
2153 | 2.58k | if (it == range.end()) { |
2154 | 54 | return it; |
2155 | 54 | } |
2156 | 2.52k | if (*it != *needle_it) { |
2157 | 2.02k | break; |
2158 | 2.02k | } |
2159 | 2.52k | } |
2160 | 2.02k | ++first; |
2161 | 2.02k | } |
2162 | 156 | } |
2163 | 252 | } Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2138 | 156 | { | 2139 | 156 | static_assert(ranges::common_range<CodeUnits>); | 2140 | | | 2141 | | if constexpr (ranges::common_range<Range>) { | 2142 | | return std::search(range.begin(), range.end(), needle.begin(), | 2143 | | needle.end()); | 2144 | | } | 2145 | 156 | else { | 2146 | 156 | auto first = range.begin(); | 2147 | 2.17k | while (true) { | 2148 | 2.17k | auto it = first; | 2149 | 2.68k | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2150 | 2.68k | if (needle_it == needle.end()) { | 2151 | 102 | return first; | 2152 | 102 | } | 2153 | 2.58k | if (it == range.end()) { | 2154 | 54 | return it; | 2155 | 54 | } | 2156 | 2.52k | if (*it != *needle_it) { | 2157 | 2.02k | break; | 2158 | 2.02k | } | 2159 | 2.52k | } | 2160 | 2.02k | ++first; | 2161 | 2.02k | } | 2162 | 156 | } | 2163 | 156 | } |
_ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2138 | 96 | { | 2139 | 96 | static_assert(ranges::common_range<CodeUnits>); | 2140 | | | 2141 | 96 | if constexpr (ranges::common_range<Range>) { | 2142 | 96 | return std::search(range.begin(), range.end(), needle.begin(), | 2143 | 96 | needle.end()); | 2144 | | } | 2145 | | else { | 2146 | | auto first = range.begin(); | 2147 | | while (true) { | 2148 | | auto it = first; | 2149 | | for (auto needle_it = needle.begin();; ++it, (void)++needle_it) { | 2150 | | if (needle_it == needle.end()) { | 2151 | | return first; | 2152 | | } | 2153 | | if (it == range.end()) { | 2154 | | return it; | 2155 | | } | 2156 | | if (*it != *needle_it) { | 2157 | | break; | 2158 | | } | 2159 | | } | 2160 | | ++first; | 2161 | | } | 2162 | | } | 2163 | 96 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ |
2164 | | |
2165 | | template <typename Range, typename CodeUnits> |
2166 | | auto read_while_code_units(Range range, const CodeUnits& needle) |
2167 | | -> ranges::const_iterator_t<Range> |
2168 | 1.46k | { |
2169 | 1.46k | static_assert(ranges::common_range<CodeUnits>); |
2170 | | |
2171 | 1.46k | auto it = range.begin(); |
2172 | 2.67k | while (it != range.end()) { |
2173 | 2.59k | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, |
2174 | 2.59k | needle.size()); |
2175 | 2.59k | if (!r) { |
2176 | 220 | return it; |
2177 | 220 | } |
2178 | 2.37k | static_assert( |
2179 | 2.37k | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); |
2180 | 2.37k | if (!std::equal(it, *r, needle.begin())) { |
2181 | 1.16k | return it; |
2182 | 1.16k | } |
2183 | 1.21k | it = *r; |
2184 | 1.21k | } |
2185 | 80 | SCN_ENSURE(it == range.end()); |
2186 | 80 | return it; |
2187 | 80 | } Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Line | Count | Source | 2168 | 354 | { | 2169 | 354 | static_assert(ranges::common_range<CodeUnits>); | 2170 | | | 2171 | 354 | auto it = range.begin(); | 2172 | 640 | while (it != range.end()) { | 2173 | 640 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2174 | 640 | needle.size()); | 2175 | 640 | if (!r) { | 2176 | 6 | return it; | 2177 | 6 | } | 2178 | 634 | static_assert( | 2179 | 634 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2180 | 634 | if (!std::equal(it, *r, needle.begin())) { | 2181 | 348 | return it; | 2182 | 348 | } | 2183 | 286 | it = *r; | 2184 | 286 | } | 2185 | 0 | SCN_ENSURE(it == range.end()); | 2186 | 0 | return it; | 2187 | 0 | } |
_ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ Line | Count | Source | 2168 | 334 | { | 2169 | 334 | static_assert(ranges::common_range<CodeUnits>); | 2170 | | | 2171 | 334 | auto it = range.begin(); | 2172 | 678 | while (it != range.end()) { | 2173 | 632 | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2174 | 632 | needle.size()); | 2175 | 632 | if (!r) { | 2176 | 70 | return it; | 2177 | 70 | } | 2178 | 562 | static_assert( | 2179 | 562 | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2180 | 562 | if (!std::equal(it, *r, needle.begin())) { | 2181 | 218 | return it; | 2182 | 218 | } | 2183 | 344 | it = *r; | 2184 | 344 | } | 2185 | 46 | SCN_ENSURE(it == range.end()); | 2186 | 46 | return it; | 2187 | 46 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEESL_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEESM_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEES8_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEES7_EEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEESG_RKT0_ Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEESI_RKT0_ _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENSt3__117basic_string_viewIcNSD_11char_traitsIcEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ Line | Count | Source | 2168 | 774 | { | 2169 | 774 | static_assert(ranges::common_range<CodeUnits>); | 2170 | | | 2171 | 774 | auto it = range.begin(); | 2172 | 1.35k | while (it != range.end()) { | 2173 | 1.32k | auto r = read_exactly_n_code_units(ranges::subrange{it, range.end()}, | 2174 | 1.32k | needle.size()); | 2175 | 1.32k | if (!r) { | 2176 | 144 | return it; | 2177 | 144 | } | 2178 | 1.17k | static_assert( | 2179 | 1.17k | std::is_same_v<decltype(it), detail::remove_cvref_t<decltype(*r)>>); | 2180 | 1.17k | if (!std::equal(it, *r, needle.begin())) { | 2181 | 596 | return it; | 2182 | 596 | } | 2183 | 582 | it = *r; | 2184 | 582 | } | 2185 | 34 | SCN_ENSURE(it == range.end()); | 2186 | 34 | return it; | 2187 | 34 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_unitsINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENSt3__117basic_string_viewIwNSD_11char_traitsIwEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEESJ_RKT0_ |
2188 | | |
2189 | | template <typename Range> |
2190 | | auto read_until_code_point(Range range, function_ref<bool(char32_t)> pred) |
2191 | | -> ranges::const_iterator_t<Range> |
2192 | 41.7k | { |
2193 | 41.7k | auto it = range.begin(); |
2194 | 751k | while (it != range.end()) { |
2195 | 740k | const auto val = |
2196 | 740k | read_code_point_into(ranges::subrange{it, range.end()}); |
2197 | 740k | if (SCN_LIKELY(val.is_valid())) { |
2198 | 733k | const auto cp = detail::decode_code_point_exhaustive( |
2199 | 733k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); |
2200 | 733k | if (pred(cp)) { |
2201 | 30.7k | return it; |
2202 | 30.7k | } |
2203 | 733k | } |
2204 | 709k | it = val.iterator; |
2205 | 709k | } |
2206 | | |
2207 | 10.9k | return it; |
2208 | 41.7k | } Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2192 | 1.12k | { | 2193 | 1.12k | auto it = range.begin(); | 2194 | 19.1k | while (it != range.end()) { | 2195 | 18.6k | const auto val = | 2196 | 18.6k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 18.6k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 16.1k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 16.1k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 16.1k | if (pred(cp)) { | 2201 | 658 | return it; | 2202 | 658 | } | 2203 | 16.1k | } | 2204 | 18.0k | it = val.iterator; | 2205 | 18.0k | } | 2206 | | | 2207 | 464 | return it; | 2208 | 1.12k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2192 | 1.05k | { | 2193 | 1.05k | auto it = range.begin(); | 2194 | 18.6k | while (it != range.end()) { | 2195 | 17.8k | const auto val = | 2196 | 17.8k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 17.8k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 14.9k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 14.9k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 14.9k | if (pred(cp)) { | 2201 | 258 | return it; | 2202 | 258 | } | 2203 | 14.9k | } | 2204 | 17.6k | it = val.iterator; | 2205 | 17.6k | } | 2206 | | | 2207 | 792 | return it; | 2208 | 1.05k | } |
_ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2192 | 3.49k | { | 2193 | 3.49k | auto it = range.begin(); | 2194 | 596k | while (it != range.end()) { | 2195 | 596k | const auto val = | 2196 | 596k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 596k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 595k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 595k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 595k | if (pred(cp)) { | 2201 | 3.30k | return it; | 2202 | 3.30k | } | 2203 | 595k | } | 2204 | 593k | it = val.iterator; | 2205 | 593k | } | 2206 | | | 2207 | 192 | return it; | 2208 | 3.49k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_until_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2192 | 9.65k | { | 2193 | 9.65k | auto it = range.begin(); | 2194 | 21.2k | while (it != range.end()) { | 2195 | 16.1k | const auto val = | 2196 | 16.1k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 16.1k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 16.1k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 16.1k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 16.1k | if (pred(cp)) { | 2201 | 4.58k | return it; | 2202 | 4.58k | } | 2203 | 16.1k | } | 2204 | 11.5k | it = val.iterator; | 2205 | 11.5k | } | 2206 | | | 2207 | 5.06k | return it; | 2208 | 9.65k | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2192 | 866 | { | 2193 | 866 | auto it = range.begin(); | 2194 | 5.65k | while (it != range.end()) { | 2195 | 5.47k | const auto val = | 2196 | 5.47k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 5.47k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 5.47k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 5.47k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 5.47k | if (pred(cp)) { | 2201 | 686 | return it; | 2202 | 686 | } | 2203 | 5.47k | } | 2204 | 4.78k | it = val.iterator; | 2205 | 4.78k | } | 2206 | | | 2207 | 180 | return it; | 2208 | 866 | } |
_ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2192 | 20.8k | { | 2193 | 20.8k | auto it = range.begin(); | 2194 | 71.7k | while (it != range.end()) { | 2195 | 68.3k | const auto val = | 2196 | 68.3k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 68.3k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 68.3k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 68.3k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 68.3k | if (pred(cp)) { | 2201 | 17.4k | return it; | 2202 | 17.4k | } | 2203 | 68.3k | } | 2204 | 50.9k | it = val.iterator; | 2205 | 50.9k | } | 2206 | | | 2207 | 3.39k | return it; | 2208 | 20.8k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESN_NS1_12function_refIFbDiEST_EE Unexecuted instantiation: _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_until_code_pointINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESK_NS1_12function_refIFbDiESQ_EE Line | Count | Source | 2192 | 618 | { | 2193 | 618 | auto it = range.begin(); | 2194 | 11.5k | while (it != range.end()) { | 2195 | 11.0k | const auto val = | 2196 | 11.0k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 11.0k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 11.0k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 11.0k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 11.0k | if (pred(cp)) { | 2201 | 90 | return it; | 2202 | 90 | } | 2203 | 11.0k | } | 2204 | 10.9k | it = val.iterator; | 2205 | 10.9k | } | 2206 | | | 2207 | 528 | return it; | 2208 | 618 | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2192 | 2.47k | { | 2193 | 2.47k | auto it = range.begin(); | 2194 | 4.17k | while (it != range.end()) { | 2195 | 3.93k | const auto val = | 2196 | 3.93k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 3.93k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 3.93k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 3.93k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 3.93k | if (pred(cp)) { | 2201 | 2.23k | return it; | 2202 | 2.23k | } | 2203 | 3.93k | } | 2204 | 1.70k | it = val.iterator; | 2205 | 1.70k | } | 2206 | | | 2207 | 238 | return it; | 2208 | 2.47k | } |
_ZN3scn2v44impl21read_until_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2192 | 1.65k | { | 2193 | 1.65k | auto it = range.begin(); | 2194 | 2.24k | while (it != range.end()) { | 2195 | 2.13k | const auto val = | 2196 | 2.13k | read_code_point_into(ranges::subrange{it, range.end()}); | 2197 | 2.13k | if (SCN_LIKELY(val.is_valid())) { | 2198 | 2.13k | const auto cp = detail::decode_code_point_exhaustive( | 2199 | 2.13k | std::basic_string_view<detail::char_t<Range>>{val.codepoint}); | 2200 | 2.13k | if (pred(cp)) { | 2201 | 1.53k | return it; | 2202 | 1.53k | } | 2203 | 2.13k | } | 2204 | 598 | it = val.iterator; | 2205 | 598 | } | 2206 | | | 2207 | 116 | return it; | 2208 | 1.65k | } |
|
2209 | | |
2210 | | template <typename Range> |
2211 | | auto read_while_code_point(Range range, function_ref<bool(char32_t)> pred) |
2212 | | -> ranges::const_iterator_t<Range> |
2213 | 36.0k | { |
2214 | 36.0k | return read_until_code_point(range, std::not_fn(pred)); |
2215 | 36.0k | } Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2213 | 882 | { | 2214 | 882 | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 882 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2213 | 3.25k | { | 2214 | 3.25k | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 3.25k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_NS1_12function_refIFbDiESO_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NS1_12function_refIFbDiESN_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_NS1_12function_refIFbDiESJ_EE Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE _ZN3scn2v44impl21read_while_code_pointINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_NS1_12function_refIFbDiESG_EE Line | Count | Source | 2213 | 9.65k | { | 2214 | 9.65k | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 9.65k | } |
_ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NS1_12function_refIFbDiESK_EE Line | Count | Source | 2213 | 668 | { | 2214 | 668 | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 668 | } |
_ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_NS1_12function_refIFbDiESI_EE Line | Count | Source | 2213 | 17.4k | { | 2214 | 17.4k | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 17.4k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_while_code_pointINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE _ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2213 | 2.47k | { | 2214 | 2.47k | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 2.47k | } |
_ZN3scn2v44impl21read_while_code_pointINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_NS1_12function_refIFbDiESL_EE Line | Count | Source | 2213 | 1.65k | { | 2214 | 1.65k | return read_until_code_point(range, std::not_fn(pred)); | 2215 | 1.65k | } |
|
2216 | | |
2217 | | template <typename Range> |
2218 | | auto read_until_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2219 | 7.57k | { |
2220 | | if constexpr (ranges::contiguous_range<Range> && |
2221 | | ranges::sized_range<Range> && |
2222 | 2.91k | std::is_same_v<detail::char_t<Range>, char>) { |
2223 | 2.91k | auto buf = make_contiguous_buffer(range); |
2224 | 2.91k | auto it = find_classic_space_narrow_fast(buf.view()); |
2225 | 2.91k | return ranges::next(range.begin(), |
2226 | 2.91k | ranges::distance(buf.view().begin(), it)); |
2227 | | } |
2228 | 4.65k | else { |
2229 | 4.65k | auto it = range.begin(); |
2230 | | |
2231 | 4.65k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2232 | 1.05k | auto seg = get_contiguous_beginning(range); |
2233 | 1.05k | if (auto seg_it = find_classic_space_narrow_fast(seg); |
2234 | 1.05k | seg_it != seg.end()) { |
2235 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2236 | 0 | } |
2237 | 1.05k | ranges::advance(it, seg.size()); |
2238 | 1.05k | } |
2239 | | |
2240 | 0 | return read_until_code_point( |
2241 | 4.65k | ranges::subrange{it, range.end()}, |
2242 | 62.4k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); });Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2242 | 14.9k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2242 | 11.0k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
_ZZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2242 | 33.7k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
_ZZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi Line | Count | Source | 2242 | 2.74k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); |
|
2243 | 4.65k | } |
2244 | 7.57k | } Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2219 | 1.05k | { | 2220 | | if constexpr (ranges::contiguous_range<Range> && | 2221 | | ranges::sized_range<Range> && | 2222 | | std::is_same_v<detail::char_t<Range>, char>) { | 2223 | | auto buf = make_contiguous_buffer(range); | 2224 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2225 | | return ranges::next(range.begin(), | 2226 | | ranges::distance(buf.view().begin(), it)); | 2227 | | } | 2228 | 1.05k | else { | 2229 | 1.05k | auto it = range.begin(); | 2230 | | | 2231 | 1.05k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2232 | 1.05k | auto seg = get_contiguous_beginning(range); | 2233 | 1.05k | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2234 | 1.05k | seg_it != seg.end()) { | 2235 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2236 | 0 | } | 2237 | 1.05k | ranges::advance(it, seg.size()); | 2238 | 1.05k | } | 2239 | | | 2240 | 0 | return read_until_code_point( | 2241 | 1.05k | ranges::subrange{it, range.end()}, | 2242 | 1.05k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2243 | 1.05k | } | 2244 | 1.05k | } |
_ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2219 | 2.91k | { | 2220 | | if constexpr (ranges::contiguous_range<Range> && | 2221 | | ranges::sized_range<Range> && | 2222 | 2.91k | std::is_same_v<detail::char_t<Range>, char>) { | 2223 | 2.91k | auto buf = make_contiguous_buffer(range); | 2224 | 2.91k | auto it = find_classic_space_narrow_fast(buf.view()); | 2225 | 2.91k | return ranges::next(range.begin(), | 2226 | 2.91k | ranges::distance(buf.view().begin(), it)); | 2227 | | } | 2228 | | else { | 2229 | | auto it = range.begin(); | 2230 | | | 2231 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2232 | | auto seg = get_contiguous_beginning(range); | 2233 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2234 | | seg_it != seg.end()) { | 2235 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2236 | | } | 2237 | | ranges::advance(it, seg.size()); | 2238 | | } | 2239 | | | 2240 | | return read_until_code_point( | 2241 | | ranges::subrange{it, range.end()}, | 2242 | | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2243 | | } | 2244 | 2.91k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_until_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2219 | 618 | { | 2220 | | if constexpr (ranges::contiguous_range<Range> && | 2221 | | ranges::sized_range<Range> && | 2222 | | std::is_same_v<detail::char_t<Range>, char>) { | 2223 | | auto buf = make_contiguous_buffer(range); | 2224 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2225 | | return ranges::next(range.begin(), | 2226 | | ranges::distance(buf.view().begin(), it)); | 2227 | | } | 2228 | 618 | else { | 2229 | 618 | auto it = range.begin(); | 2230 | | | 2231 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2232 | | auto seg = get_contiguous_beginning(range); | 2233 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2234 | | seg_it != seg.end()) { | 2235 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2236 | | } | 2237 | | ranges::advance(it, seg.size()); | 2238 | | } | 2239 | | | 2240 | 618 | return read_until_code_point( | 2241 | 618 | ranges::subrange{it, range.end()}, | 2242 | 618 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2243 | 618 | } | 2244 | 618 | } |
_ZN3scn2v44impl24read_until_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2219 | 2.91k | { | 2220 | | if constexpr (ranges::contiguous_range<Range> && | 2221 | | ranges::sized_range<Range> && | 2222 | | std::is_same_v<detail::char_t<Range>, char>) { | 2223 | | auto buf = make_contiguous_buffer(range); | 2224 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2225 | | return ranges::next(range.begin(), | 2226 | | ranges::distance(buf.view().begin(), it)); | 2227 | | } | 2228 | 2.91k | else { | 2229 | 2.91k | auto it = range.begin(); | 2230 | | | 2231 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2232 | | auto seg = get_contiguous_beginning(range); | 2233 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2234 | | seg_it != seg.end()) { | 2235 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2236 | | } | 2237 | | ranges::advance(it, seg.size()); | 2238 | | } | 2239 | | | 2240 | 2.91k | return read_until_code_point( | 2241 | 2.91k | ranges::subrange{it, range.end()}, | 2242 | 2.91k | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2243 | 2.91k | } | 2244 | 2.91k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ _ZN3scn2v44impl24read_until_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2219 | 80 | { | 2220 | | if constexpr (ranges::contiguous_range<Range> && | 2221 | | ranges::sized_range<Range> && | 2222 | | std::is_same_v<detail::char_t<Range>, char>) { | 2223 | | auto buf = make_contiguous_buffer(range); | 2224 | | auto it = find_classic_space_narrow_fast(buf.view()); | 2225 | | return ranges::next(range.begin(), | 2226 | | ranges::distance(buf.view().begin(), it)); | 2227 | | } | 2228 | 80 | else { | 2229 | 80 | auto it = range.begin(); | 2230 | | | 2231 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2232 | | auto seg = get_contiguous_beginning(range); | 2233 | | if (auto seg_it = find_classic_space_narrow_fast(seg); | 2234 | | seg_it != seg.end()) { | 2235 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2236 | | } | 2237 | | ranges::advance(it, seg.size()); | 2238 | | } | 2239 | | | 2240 | 80 | return read_until_code_point( | 2241 | 80 | ranges::subrange{it, range.end()}, | 2242 | 80 | [](char32_t cp) noexcept { return detail::is_cp_space(cp); }); | 2243 | 80 | } | 2244 | 80 | } |
|
2245 | | |
2246 | | template <typename Range> |
2247 | | auto read_while_classic_space(Range range) -> ranges::const_iterator_t<Range> |
2248 | 55.8k | { |
2249 | | if constexpr (ranges::contiguous_range<Range> && |
2250 | | ranges::sized_range<Range> && |
2251 | 23.6k | std::is_same_v<detail::char_t<Range>, char>) { |
2252 | 23.6k | auto buf = make_contiguous_buffer(range); |
2253 | 23.6k | auto it = find_classic_nonspace_narrow_fast(buf.view()); |
2254 | 23.6k | return ranges::next(range.begin(), |
2255 | 23.6k | ranges::distance(buf.view().begin(), it)); |
2256 | | } |
2257 | 32.1k | else { |
2258 | 32.1k | auto it = range.begin(); |
2259 | | |
2260 | 32.1k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2261 | 3.10k | auto seg = get_contiguous_beginning(range); |
2262 | 3.10k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); |
2263 | 3.10k | seg_it != seg.end()) { |
2264 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); |
2265 | 0 | } |
2266 | 3.10k | ranges::advance(it, seg.size()); |
2267 | 3.10k | } |
2268 | | |
2269 | 50.1k | return read_while_code_point(range, [](char32_t cp) noexcept { |
2270 | 50.1k | return detail::is_cp_space(cp); |
2271 | 50.1k | }); Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2269 | 2.28k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 2.28k | return detail::is_cp_space(cp); | 2271 | 2.28k | }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ENKUlDiE_clEDi Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ENKUlDiE_clEDi Line | Count | Source | 2269 | 16.1k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 16.1k | return detail::is_cp_space(cp); | 2271 | 16.1k | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ENKUlDiE_clEDi Line | Count | Source | 2269 | 876 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 876 | return detail::is_cp_space(cp); | 2271 | 876 | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ENKUlDiE_clEDi Line | Count | Source | 2269 | 24.7k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 24.7k | return detail::is_cp_space(cp); | 2271 | 24.7k | }); |
Unexecuted instantiation: _ZZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi _ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2269 | 3.93k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 3.93k | return detail::is_cp_space(cp); | 2271 | 3.93k | }); |
_ZZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ENKUlDiE_clEDi Line | Count | Source | 2269 | 2.13k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 2.13k | return detail::is_cp_space(cp); | 2271 | 2.13k | }); |
|
2272 | 32.1k | } |
2273 | 55.8k | } Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2248 | 624 | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | | auto buf = make_contiguous_buffer(range); | 2253 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | | return ranges::next(range.begin(), | 2255 | | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | 624 | else { | 2258 | 624 | auto it = range.begin(); | 2259 | | | 2260 | 624 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | 624 | auto seg = get_contiguous_beginning(range); | 2262 | 624 | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | 624 | seg_it != seg.end()) { | 2264 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | 0 | } | 2266 | 624 | ranges::advance(it, seg.size()); | 2267 | 624 | } | 2268 | | | 2269 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 624 | return detail::is_cp_space(cp); | 2271 | 624 | }); | 2272 | 624 | } | 2273 | 624 | } |
_ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2248 | 15.2k | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | 15.2k | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | 15.2k | auto buf = make_contiguous_buffer(range); | 2253 | 15.2k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | 15.2k | return ranges::next(range.begin(), | 2255 | 15.2k | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | | else { | 2258 | | auto it = range.begin(); | 2259 | | | 2260 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | | auto seg = get_contiguous_beginning(range); | 2262 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | | seg_it != seg.end()) { | 2264 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | | } | 2266 | | ranges::advance(it, seg.size()); | 2267 | | } | 2268 | | | 2269 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | | return detail::is_cp_space(cp); | 2271 | | }); | 2272 | | } | 2273 | 15.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESI_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESD_ Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEESC_ _ZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2248 | 9.65k | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | | auto buf = make_contiguous_buffer(range); | 2253 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | | return ranges::next(range.begin(), | 2255 | | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | 9.65k | else { | 2258 | 9.65k | auto it = range.begin(); | 2259 | | | 2260 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | | auto seg = get_contiguous_beginning(range); | 2262 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | | seg_it != seg.end()) { | 2264 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | | } | 2266 | | ranges::advance(it, seg.size()); | 2267 | | } | 2268 | | | 2269 | 9.65k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 9.65k | return detail::is_cp_space(cp); | 2271 | 9.65k | }); | 2272 | 9.65k | } | 2273 | 9.65k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_ Line | Count | Source | 2248 | 506 | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | | auto buf = make_contiguous_buffer(range); | 2253 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | | return ranges::next(range.begin(), | 2255 | | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | 506 | else { | 2258 | 506 | auto it = range.begin(); | 2259 | | | 2260 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | | auto seg = get_contiguous_beginning(range); | 2262 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | | seg_it != seg.end()) { | 2264 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | | } | 2266 | | ranges::advance(it, seg.size()); | 2267 | | } | 2268 | | | 2269 | 506 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 506 | return detail::is_cp_space(cp); | 2271 | 506 | }); | 2272 | 506 | } | 2273 | 506 | } |
_ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESC_ Line | Count | Source | 2248 | 17.2k | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | | auto buf = make_contiguous_buffer(range); | 2253 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | | return ranges::next(range.begin(), | 2255 | | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | 17.2k | else { | 2258 | 17.2k | auto it = range.begin(); | 2259 | | | 2260 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | | auto seg = get_contiguous_beginning(range); | 2262 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | | seg_it != seg.end()) { | 2264 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | | } | 2266 | | ranges::advance(it, seg.size()); | 2267 | | } | 2268 | | | 2269 | 17.2k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 17.2k | return detail::is_cp_space(cp); | 2271 | 17.2k | }); | 2272 | 17.2k | } | 2273 | 17.2k | } |
Unexecuted instantiation: _ZN3scn2v44impl24read_while_classic_spaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ _ZN3scn2v44impl24read_while_classic_spaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEEDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEESA_ Line | Count | Source | 2248 | 8.32k | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | 8.32k | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | 8.32k | auto buf = make_contiguous_buffer(range); | 2253 | 8.32k | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | 8.32k | return ranges::next(range.begin(), | 2255 | 8.32k | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | | else { | 2258 | | auto it = range.begin(); | 2259 | | | 2260 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | | auto seg = get_contiguous_beginning(range); | 2262 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | | seg_it != seg.end()) { | 2264 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | | } | 2266 | | ranges::advance(it, seg.size()); | 2267 | | } | 2268 | | | 2269 | | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | | return detail::is_cp_space(cp); | 2271 | | }); | 2272 | | } | 2273 | 8.32k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2248 | 2.47k | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | | auto buf = make_contiguous_buffer(range); | 2253 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | | return ranges::next(range.begin(), | 2255 | | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | 2.47k | else { | 2258 | 2.47k | auto it = range.begin(); | 2259 | | | 2260 | 2.47k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | 2.47k | auto seg = get_contiguous_beginning(range); | 2262 | 2.47k | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | 2.47k | seg_it != seg.end()) { | 2264 | 0 | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | 0 | } | 2266 | 2.47k | ranges::advance(it, seg.size()); | 2267 | 2.47k | } | 2268 | | | 2269 | 0 | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 2.47k | return detail::is_cp_space(cp); | 2271 | 2.47k | }); | 2272 | 2.47k | } | 2273 | 2.47k | } |
_ZN3scn2v44impl24read_while_classic_spaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEEDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESF_ Line | Count | Source | 2248 | 1.65k | { | 2249 | | if constexpr (ranges::contiguous_range<Range> && | 2250 | | ranges::sized_range<Range> && | 2251 | | std::is_same_v<detail::char_t<Range>, char>) { | 2252 | | auto buf = make_contiguous_buffer(range); | 2253 | | auto it = find_classic_nonspace_narrow_fast(buf.view()); | 2254 | | return ranges::next(range.begin(), | 2255 | | ranges::distance(buf.view().begin(), it)); | 2256 | | } | 2257 | 1.65k | else { | 2258 | 1.65k | auto it = range.begin(); | 2259 | | | 2260 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2261 | | auto seg = get_contiguous_beginning(range); | 2262 | | if (auto seg_it = find_classic_nonspace_narrow_fast(seg); | 2263 | | seg_it != seg.end()) { | 2264 | | return ranges::next(it, ranges::distance(seg.begin(), seg_it)); | 2265 | | } | 2266 | | ranges::advance(it, seg.size()); | 2267 | | } | 2268 | | | 2269 | 1.65k | return read_while_code_point(range, [](char32_t cp) noexcept { | 2270 | 1.65k | return detail::is_cp_space(cp); | 2271 | 1.65k | }); | 2272 | 1.65k | } | 2273 | 1.65k | } |
|
2274 | | |
2275 | | template <typename Range> |
2276 | | auto read_matching_code_unit(Range range, detail::char_t<Range> ch) |
2277 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2278 | 5.39k | { |
2279 | 5.39k | auto it = read_code_unit(range); |
2280 | 5.39k | if (SCN_UNLIKELY(!it)) { |
2281 | 8 | return unexpected(make_eof_parse_error(it.error())); |
2282 | 8 | } |
2283 | | |
2284 | 5.38k | if (SCN_UNLIKELY(*range.begin() != |
2285 | 5.38k | static_cast<detail::char_t<Range>>(ch))) { |
2286 | 5.27k | return unexpected(parse_error::error); |
2287 | 5.27k | } |
2288 | | |
2289 | 108 | return *it; |
2290 | 5.38k | } Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2278 | 40 | { | 2279 | 40 | auto it = read_code_unit(range); | 2280 | 40 | if (SCN_UNLIKELY(!it)) { | 2281 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2282 | 0 | } | 2283 | | | 2284 | 40 | if (SCN_UNLIKELY(*range.begin() != | 2285 | 40 | static_cast<detail::char_t<Range>>(ch))) { | 2286 | 40 | return unexpected(parse_error::error); | 2287 | 40 | } | 2288 | | | 2289 | 0 | return *it; | 2290 | 40 | } |
_ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2278 | 1.91k | { | 2279 | 1.91k | auto it = read_code_unit(range); | 2280 | 1.91k | if (SCN_UNLIKELY(!it)) { | 2281 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2282 | 0 | } | 2283 | | | 2284 | 1.91k | if (SCN_UNLIKELY(*range.begin() != | 2285 | 1.91k | static_cast<detail::char_t<Range>>(ch))) { | 2286 | 1.91k | return unexpected(parse_error::error); | 2287 | 1.91k | } | 2288 | | | 2289 | 0 | return *it; | 2290 | 1.91k | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NDTcl4implISO_EEE4typeE Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NDTcl4implISG_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NDTcl4implISL_EEE4typeE Line | Count | Source | 2278 | 90 | { | 2279 | 90 | auto it = read_code_unit(range); | 2280 | 90 | if (SCN_UNLIKELY(!it)) { | 2281 | 8 | return unexpected(make_eof_parse_error(it.error())); | 2282 | 8 | } | 2283 | | | 2284 | 82 | if (SCN_UNLIKELY(*range.begin() != | 2285 | 82 | static_cast<detail::char_t<Range>>(ch))) { | 2286 | 64 | return unexpected(parse_error::error); | 2287 | 64 | } | 2288 | | | 2289 | 18 | return *it; | 2290 | 82 | } |
_ZN3scn2v44impl23read_matching_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NDTcl4implISD_EEE4typeE Line | Count | Source | 2278 | 2.09k | { | 2279 | 2.09k | auto it = read_code_unit(range); | 2280 | 2.09k | if (SCN_UNLIKELY(!it)) { | 2281 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2282 | 0 | } | 2283 | | | 2284 | 2.09k | if (SCN_UNLIKELY(*range.begin() != | 2285 | 2.09k | static_cast<detail::char_t<Range>>(ch))) { | 2286 | 2.02k | return unexpected(parse_error::error); | 2287 | 2.02k | } | 2288 | | | 2289 | 68 | return *it; | 2290 | 2.09k | } |
_ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2278 | 772 | { | 2279 | 772 | auto it = read_code_unit(range); | 2280 | 772 | if (SCN_UNLIKELY(!it)) { | 2281 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2282 | 0 | } | 2283 | | | 2284 | 772 | if (SCN_UNLIKELY(*range.begin() != | 2285 | 772 | static_cast<detail::char_t<Range>>(ch))) { | 2286 | 772 | return unexpected(parse_error::error); | 2287 | 772 | } | 2288 | | | 2289 | 0 | return *it; | 2290 | 772 | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NDTcl4implISF_EEE4typeE Line | Count | Source | 2278 | 490 | { | 2279 | 490 | auto it = read_code_unit(range); | 2280 | 490 | if (SCN_UNLIKELY(!it)) { | 2281 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2282 | 0 | } | 2283 | | | 2284 | 490 | if (SCN_UNLIKELY(*range.begin() != | 2285 | 490 | static_cast<detail::char_t<Range>>(ch))) { | 2286 | 468 | return unexpected(parse_error::error); | 2287 | 468 | } | 2288 | | | 2289 | 22 | return *it; | 2290 | 490 | } |
Unexecuted instantiation: _ZN3scn2v44impl23read_matching_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NDTcl4implISI_EEE4typeE |
2291 | | |
2292 | | template <typename Range> |
2293 | | auto read_matching_code_point(Range range, char32_t cp) |
2294 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2295 | | { |
2296 | | auto val = read_code_point_into(range); |
2297 | | if (!val.is_valid()) { |
2298 | | return unexpected(parse_error::error); |
2299 | | } |
2300 | | auto decoded_cp = decode_code_point_exhaustive(val.codepoint); |
2301 | | if (SCN_UNLIKELY(cp != decoded_cp)) { |
2302 | | return unexpected(parse_error::error); |
2303 | | } |
2304 | | return val.iterator; |
2305 | | } |
2306 | | |
2307 | | template <typename Range> |
2308 | | auto read_matching_string(Range range, |
2309 | | std::basic_string_view<detail::char_t<Range>> str) |
2310 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2311 | 112 | { |
2312 | 112 | SCN_TRY(it, read_exactly_n_code_units( |
2313 | 72 | range, static_cast<std::ptrdiff_t>(str.size())) |
2314 | 72 | .transform_error(make_eof_parse_error)); |
2315 | | |
2316 | 72 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2317 | 72 | if (SCN_UNLIKELY(sv.view() != str)) { |
2318 | 72 | return unexpected(parse_error::error); |
2319 | 72 | } |
2320 | 0 | return it; |
2321 | 72 | } _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2311 | 32 | { | 2312 | 32 | SCN_TRY(it, read_exactly_n_code_units( | 2313 | 14 | range, static_cast<std::ptrdiff_t>(str.size())) | 2314 | 14 | .transform_error(make_eof_parse_error)); | 2315 | | | 2316 | 14 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2317 | 14 | if (SCN_UNLIKELY(sv.view() != str)) { | 2318 | 14 | return unexpected(parse_error::error); | 2319 | 14 | } | 2320 | 0 | return it; | 2321 | 14 | } |
_ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2311 | 24 | { | 2312 | 24 | SCN_TRY(it, read_exactly_n_code_units( | 2313 | 22 | range, static_cast<std::ptrdiff_t>(str.size())) | 2314 | 22 | .transform_error(make_eof_parse_error)); | 2315 | | | 2316 | 22 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2317 | 22 | if (SCN_UNLIKELY(sv.view() != str)) { | 2318 | 22 | return unexpected(parse_error::error); | 2319 | 22 | } | 2320 | 0 | return it; | 2321 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewINDTcl4implISF_EEE4typeENSD_11char_traitsISN_EEEE Line | Count | Source | 2311 | 28 | { | 2312 | 28 | SCN_TRY(it, read_exactly_n_code_units( | 2313 | 10 | range, static_cast<std::ptrdiff_t>(str.size())) | 2314 | 10 | .transform_error(make_eof_parse_error)); | 2315 | | | 2316 | 10 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2317 | 10 | if (SCN_UNLIKELY(sv.view() != str)) { | 2318 | 10 | return unexpected(parse_error::error); | 2319 | 10 | } | 2320 | 0 | return it; | 2321 | 10 | } |
_ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewINDTcl4implISD_EEE4typeENSB_11char_traitsISL_EEEE Line | Count | Source | 2311 | 28 | { | 2312 | 28 | SCN_TRY(it, read_exactly_n_code_units( | 2313 | 26 | range, static_cast<std::ptrdiff_t>(str.size())) | 2314 | 26 | .transform_error(make_eof_parse_error)); | 2315 | | | 2316 | 26 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2317 | 26 | if (SCN_UNLIKELY(sv.view() != str)) { | 2318 | 26 | return unexpected(parse_error::error); | 2319 | 26 | } | 2320 | 0 | return it; | 2321 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewINDTcl4implISI_EEE4typeENSG_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl20read_matching_stringINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewINDTcl4implISG_EEE4typeENSE_11char_traitsISO_EEEE |
2322 | | |
2323 | | template <typename Range> |
2324 | | auto read_matching_string_classic(Range range, std::string_view str) |
2325 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2326 | 5.40k | { |
2327 | 5.40k | SCN_TRY(it, read_exactly_n_code_units( |
2328 | 4.85k | range, static_cast<std::ptrdiff_t>(str.size())) |
2329 | 4.85k | .transform_error(make_eof_parse_error)); |
2330 | | |
2331 | 4.85k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { |
2332 | 2.70k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); |
2333 | 2.70k | if (SCN_UNLIKELY(sv.view() != str)) { |
2334 | 2.70k | return unexpected(parse_error::error); |
2335 | 2.70k | } |
2336 | 0 | return it; |
2337 | | } |
2338 | 2.15k | else { |
2339 | 2.15k | auto range_it = range.begin(); |
2340 | 2.15k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { |
2341 | 2.15k | if (SCN_UNLIKELY(*range_it != |
2342 | 2.15k | static_cast<detail::char_t<Range>>(str[i]))) { |
2343 | 2.15k | return unexpected(parse_error::error); |
2344 | 2.15k | } |
2345 | 2.15k | } |
2346 | 0 | return it; |
2347 | 2.15k | } |
2348 | 4.85k | } _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2326 | 2.06k | { | 2327 | 2.06k | SCN_TRY(it, read_exactly_n_code_units( | 2328 | 1.96k | range, static_cast<std::ptrdiff_t>(str.size())) | 2329 | 1.96k | .transform_error(make_eof_parse_error)); | 2330 | | | 2331 | 1.96k | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2332 | 1.96k | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2333 | 1.96k | if (SCN_UNLIKELY(sv.view() != str)) { | 2334 | 1.96k | return unexpected(parse_error::error); | 2335 | 1.96k | } | 2336 | 0 | return it; | 2337 | | } | 2338 | | else { | 2339 | | auto range_it = range.begin(); | 2340 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2341 | | if (SCN_UNLIKELY(*range_it != | 2342 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2343 | | return unexpected(parse_error::error); | 2344 | | } | 2345 | | } | 2346 | | return it; | 2347 | | } | 2348 | 1.96k | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2326 | 912 | { | 2327 | 912 | SCN_TRY(it, read_exactly_n_code_units( | 2328 | 740 | range, static_cast<std::ptrdiff_t>(str.size())) | 2329 | 740 | .transform_error(make_eof_parse_error)); | 2330 | | | 2331 | 740 | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2332 | 740 | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2333 | 740 | if (SCN_UNLIKELY(sv.view() != str)) { | 2334 | 740 | return unexpected(parse_error::error); | 2335 | 740 | } | 2336 | 0 | return it; | 2337 | | } | 2338 | | else { | 2339 | | auto range_it = range.begin(); | 2340 | | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2341 | | if (SCN_UNLIKELY(*range_it != | 2342 | | static_cast<detail::char_t<Range>>(str[i]))) { | 2343 | | return unexpected(parse_error::error); | 2344 | | } | 2345 | | } | 2346 | | return it; | 2347 | | } | 2348 | 740 | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2326 | 1.97k | { | 2327 | 1.97k | SCN_TRY(it, read_exactly_n_code_units( | 2328 | 1.79k | range, static_cast<std::ptrdiff_t>(str.size())) | 2329 | 1.79k | .transform_error(make_eof_parse_error)); | 2330 | | | 2331 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2332 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2333 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2334 | | return unexpected(parse_error::error); | 2335 | | } | 2336 | | return it; | 2337 | | } | 2338 | 1.79k | else { | 2339 | 1.79k | auto range_it = range.begin(); | 2340 | 1.79k | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2341 | 1.79k | if (SCN_UNLIKELY(*range_it != | 2342 | 1.79k | static_cast<detail::char_t<Range>>(str[i]))) { | 2343 | 1.79k | return unexpected(parse_error::error); | 2344 | 1.79k | } | 2345 | 1.79k | } | 2346 | 0 | return it; | 2347 | 1.79k | } | 2348 | 1.79k | } |
_ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2326 | 452 | { | 2327 | 452 | SCN_TRY(it, read_exactly_n_code_units( | 2328 | 352 | range, static_cast<std::ptrdiff_t>(str.size())) | 2329 | 352 | .transform_error(make_eof_parse_error)); | 2330 | | | 2331 | | if constexpr (std::is_same_v<detail::char_t<Range>, char>) { | 2332 | | auto sv = make_contiguous_buffer(ranges::subrange{range.begin(), it}); | 2333 | | if (SCN_UNLIKELY(sv.view() != str)) { | 2334 | | return unexpected(parse_error::error); | 2335 | | } | 2336 | | return it; | 2337 | | } | 2338 | 352 | else { | 2339 | 352 | auto range_it = range.begin(); | 2340 | 352 | for (size_t i = 0; i < str.size(); ++i, (void)++range_it) { | 2341 | 352 | if (SCN_UNLIKELY(*range_it != | 2342 | 352 | static_cast<detail::char_t<Range>>(str[i]))) { | 2343 | 352 | return unexpected(parse_error::error); | 2344 | 352 | } | 2345 | 352 | } | 2346 | 0 | return it; | 2347 | 352 | } | 2348 | 352 | } |
Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl28read_matching_string_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE |
2349 | | |
2350 | | // Ripped from fast_float |
2351 | | constexpr bool fast_streq_nocase(const char* a, const char* b, size_t len) |
2352 | 3.75k | { |
2353 | 3.75k | unsigned char running_diff{0}; |
2354 | 13.1k | for (size_t i = 0; i < len; ++i) { |
2355 | 9.36k | running_diff |= static_cast<unsigned char>(a[i] ^ b[i]); |
2356 | 9.36k | } |
2357 | 3.75k | return running_diff == 0 || running_diff == 32; |
2358 | 3.75k | } |
2359 | | |
2360 | | template <typename Range> |
2361 | | auto read_matching_string_classic_nocase(Range range, std::string_view str) |
2362 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2363 | 10.7k | { |
2364 | 10.7k | using char_type = detail::char_t<Range>; |
2365 | | |
2366 | | if constexpr (ranges::contiguous_range<Range> && |
2367 | 3.76k | std::is_same_v<char_type, char>) { |
2368 | 3.76k | if (range.size() < str.size()) { |
2369 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); |
2370 | 8 | } |
2371 | 3.75k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { |
2372 | 3.75k | return unexpected(parse_error::error); |
2373 | 3.75k | } |
2374 | 0 | return ranges::next(range.begin(), str.size()); |
2375 | | } |
2376 | 7.03k | else { |
2377 | 7.03k | auto ascii_tolower = [](char_type ch) -> char_type { |
2378 | 6.75k | if (ch < 'A' || ch > 'Z') { |
2379 | 6.75k | return ch; |
2380 | 6.75k | } |
2381 | 0 | return static_cast<char_type>(ch + |
2382 | 0 | static_cast<char_type>('a' - 'A')); |
2383 | 6.75k | }; Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlcE_clEc _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlcE_clEc Line | Count | Source | 2377 | 1.34k | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | 1.34k | if (ch < 'A' || ch > 'Z') { | 2379 | 1.34k | return ch; | 2380 | 1.34k | } | 2381 | 0 | return static_cast<char_type>(ch + | 2382 | 0 | static_cast<char_type>('a' - 'A')); | 2383 | 1.34k | }; |
Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEEENKUlwE_clEw _ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2377 | 930 | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | 930 | if (ch < 'A' || ch > 'Z') { | 2379 | 930 | return ch; | 2380 | 930 | } | 2381 | 0 | return static_cast<char_type>(ch + | 2382 | 0 | static_cast<char_type>('a' - 'A')); | 2383 | 930 | }; |
_ZZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEEENKUlwE_clEw Line | Count | Source | 2377 | 4.47k | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | 4.47k | if (ch < 'A' || ch > 'Z') { | 2379 | 4.47k | return ch; | 2380 | 4.47k | } | 2381 | 0 | return static_cast<char_type>(ch + | 2382 | 0 | static_cast<char_type>('a' - 'A')); | 2383 | 4.47k | }; |
|
2384 | | |
2385 | 7.03k | SCN_TRY(it, read_exactly_n_code_units( |
2386 | 6.55k | range, static_cast<std::ptrdiff_t>(str.size())) |
2387 | 6.55k | .transform_error(make_eof_parse_error)); |
2388 | | |
2389 | 6.55k | if (SCN_UNLIKELY(!std::equal( |
2390 | 6.55k | range.begin(), it, str.begin(), [&](auto a, auto b) { |
2391 | 6.55k | return ascii_tolower(a) == |
2392 | 6.55k | static_cast<detail::char_t<Range>>(b); |
2393 | 6.55k | }))) { |
2394 | 6.55k | return unexpected(parse_error::error); |
2395 | 6.55k | } |
2396 | | |
2397 | 0 | return it; |
2398 | 6.55k | } |
2399 | 10.7k | } Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2363 | 1.61k | { | 2364 | 1.61k | using char_type = detail::char_t<Range>; | 2365 | | | 2366 | | if constexpr (ranges::contiguous_range<Range> && | 2367 | | std::is_same_v<char_type, char>) { | 2368 | | if (range.size() < str.size()) { | 2369 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2370 | | } | 2371 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2372 | | return unexpected(parse_error::error); | 2373 | | } | 2374 | | return ranges::next(range.begin(), str.size()); | 2375 | | } | 2376 | 1.61k | else { | 2377 | 1.61k | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | 1.61k | if (ch < 'A' || ch > 'Z') { | 2379 | 1.61k | return ch; | 2380 | 1.61k | } | 2381 | 1.61k | return static_cast<char_type>(ch + | 2382 | 1.61k | static_cast<char_type>('a' - 'A')); | 2383 | 1.61k | }; | 2384 | | | 2385 | 1.61k | SCN_TRY(it, read_exactly_n_code_units( | 2386 | 1.34k | range, static_cast<std::ptrdiff_t>(str.size())) | 2387 | 1.34k | .transform_error(make_eof_parse_error)); | 2388 | | | 2389 | 1.34k | if (SCN_UNLIKELY(!std::equal( | 2390 | 1.34k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2391 | 1.34k | return ascii_tolower(a) == | 2392 | 1.34k | static_cast<detail::char_t<Range>>(b); | 2393 | 1.34k | }))) { | 2394 | 1.34k | return unexpected(parse_error::error); | 2395 | 1.34k | } | 2396 | | | 2397 | 0 | return it; | 2398 | 1.34k | } | 2399 | 1.61k | } |
_ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2363 | 3.76k | { | 2364 | 3.76k | using char_type = detail::char_t<Range>; | 2365 | | | 2366 | | if constexpr (ranges::contiguous_range<Range> && | 2367 | 3.76k | std::is_same_v<char_type, char>) { | 2368 | 3.76k | if (range.size() < str.size()) { | 2369 | 8 | return unexpected(make_eof_parse_error(eof_error::eof)); | 2370 | 8 | } | 2371 | 3.75k | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2372 | 3.75k | return unexpected(parse_error::error); | 2373 | 3.75k | } | 2374 | 0 | return ranges::next(range.begin(), str.size()); | 2375 | | } | 2376 | | else { | 2377 | | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | | if (ch < 'A' || ch > 'Z') { | 2379 | | return ch; | 2380 | | } | 2381 | | return static_cast<char_type>(ch + | 2382 | | static_cast<char_type>('a' - 'A')); | 2383 | | }; | 2384 | | | 2385 | | SCN_TRY(it, read_exactly_n_code_units( | 2386 | | range, static_cast<std::ptrdiff_t>(str.size())) | 2387 | | .transform_error(make_eof_parse_error)); | 2388 | | | 2389 | | if (SCN_UNLIKELY(!std::equal( | 2390 | | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2391 | | return ascii_tolower(a) == | 2392 | | static_cast<detail::char_t<Range>>(b); | 2393 | | }))) { | 2394 | | return unexpected(parse_error::error); | 2395 | | } | 2396 | | | 2397 | | return it; | 2398 | | } | 2399 | 3.76k | } |
Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2363 | 1.09k | { | 2364 | 1.09k | using char_type = detail::char_t<Range>; | 2365 | | | 2366 | | if constexpr (ranges::contiguous_range<Range> && | 2367 | | std::is_same_v<char_type, char>) { | 2368 | | if (range.size() < str.size()) { | 2369 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2370 | | } | 2371 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2372 | | return unexpected(parse_error::error); | 2373 | | } | 2374 | | return ranges::next(range.begin(), str.size()); | 2375 | | } | 2376 | 1.09k | else { | 2377 | 1.09k | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | 1.09k | if (ch < 'A' || ch > 'Z') { | 2379 | 1.09k | return ch; | 2380 | 1.09k | } | 2381 | 1.09k | return static_cast<char_type>(ch + | 2382 | 1.09k | static_cast<char_type>('a' - 'A')); | 2383 | 1.09k | }; | 2384 | | | 2385 | 1.09k | SCN_TRY(it, read_exactly_n_code_units( | 2386 | 888 | range, static_cast<std::ptrdiff_t>(str.size())) | 2387 | 888 | .transform_error(make_eof_parse_error)); | 2388 | | | 2389 | 888 | if (SCN_UNLIKELY(!std::equal( | 2390 | 888 | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2391 | 888 | return ascii_tolower(a) == | 2392 | 888 | static_cast<detail::char_t<Range>>(b); | 2393 | 888 | }))) { | 2394 | 888 | return unexpected(parse_error::error); | 2395 | 888 | } | 2396 | | | 2397 | 0 | return it; | 2398 | 888 | } | 2399 | 1.09k | } |
_ZN3scn2v44impl35read_matching_string_classic_nocaseINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2363 | 4.32k | { | 2364 | 4.32k | using char_type = detail::char_t<Range>; | 2365 | | | 2366 | | if constexpr (ranges::contiguous_range<Range> && | 2367 | | std::is_same_v<char_type, char>) { | 2368 | | if (range.size() < str.size()) { | 2369 | | return unexpected(make_eof_parse_error(eof_error::eof)); | 2370 | | } | 2371 | | if (!fast_streq_nocase(range.data(), str.data(), str.size())) { | 2372 | | return unexpected(parse_error::error); | 2373 | | } | 2374 | | return ranges::next(range.begin(), str.size()); | 2375 | | } | 2376 | 4.32k | else { | 2377 | 4.32k | auto ascii_tolower = [](char_type ch) -> char_type { | 2378 | 4.32k | if (ch < 'A' || ch > 'Z') { | 2379 | 4.32k | return ch; | 2380 | 4.32k | } | 2381 | 4.32k | return static_cast<char_type>(ch + | 2382 | 4.32k | static_cast<char_type>('a' - 'A')); | 2383 | 4.32k | }; | 2384 | | | 2385 | 4.32k | SCN_TRY(it, read_exactly_n_code_units( | 2386 | 4.31k | range, static_cast<std::ptrdiff_t>(str.size())) | 2387 | 4.31k | .transform_error(make_eof_parse_error)); | 2388 | | | 2389 | 4.31k | if (SCN_UNLIKELY(!std::equal( | 2390 | 4.31k | range.begin(), it, str.begin(), [&](auto a, auto b) { | 2391 | 4.31k | return ascii_tolower(a) == | 2392 | 4.31k | static_cast<detail::char_t<Range>>(b); | 2393 | 4.31k | }))) { | 2394 | 4.31k | return unexpected(parse_error::error); | 2395 | 4.31k | } | 2396 | | | 2397 | 0 | return it; | 2398 | 4.31k | } | 2399 | 4.32k | } |
|
2400 | | |
2401 | | template <typename Range> |
2402 | | auto read_one_of_code_unit(Range range, std::string_view str) |
2403 | | -> parse_expected<ranges::const_iterator_t<Range>> |
2404 | 10.4k | { |
2405 | 10.4k | auto it = read_code_unit(range); |
2406 | 10.4k | if (SCN_UNLIKELY(!it)) { |
2407 | 6 | return unexpected(make_eof_parse_error(it.error())); |
2408 | 6 | } |
2409 | | |
2410 | 20.7k | for (auto ch : str) { |
2411 | 20.7k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { |
2412 | 0 | return *it; |
2413 | 0 | } |
2414 | 20.7k | } |
2415 | | |
2416 | 10.3k | return unexpected(parse_error::error); |
2417 | 10.3k | } Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2404 | 1.53k | { | 2405 | 1.53k | auto it = read_code_unit(range); | 2406 | 1.53k | if (SCN_UNLIKELY(!it)) { | 2407 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2408 | 0 | } | 2409 | | | 2410 | 3.07k | for (auto ch : str) { | 2411 | 3.07k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2412 | 0 | return *it; | 2413 | 0 | } | 2414 | 3.07k | } | 2415 | | | 2416 | 1.53k | return unexpected(parse_error::error); | 2417 | 1.53k | } |
_ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2404 | 3.71k | { | 2405 | 3.71k | auto it = read_code_unit(range); | 2406 | 3.71k | if (SCN_UNLIKELY(!it)) { | 2407 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2408 | 0 | } | 2409 | | | 2410 | 7.42k | for (auto ch : str) { | 2411 | 7.42k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2412 | 0 | return *it; | 2413 | 0 | } | 2414 | 7.42k | } | 2415 | | | 2416 | 3.71k | return unexpected(parse_error::error); | 2417 | 3.71k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_NSE_17basic_string_viewIcNSE_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_14parse_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEE Line | Count | Source | 2404 | 1.00k | { | 2405 | 1.00k | auto it = read_code_unit(range); | 2406 | 1.00k | if (SCN_UNLIKELY(!it)) { | 2407 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2408 | 0 | } | 2409 | | | 2410 | 2.00k | for (auto ch : str) { | 2411 | 2.00k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2412 | 0 | return *it; | 2413 | 0 | } | 2414 | 2.00k | } | 2415 | | | 2416 | 1.00k | return unexpected(parse_error::error); | 2417 | 1.00k | } |
_ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_NSB_17basic_string_viewIcNSB_11char_traitsIcEEEE Line | Count | Source | 2404 | 4.13k | { | 2405 | 4.13k | auto it = read_code_unit(range); | 2406 | 4.13k | if (SCN_UNLIKELY(!it)) { | 2407 | 0 | return unexpected(make_eof_parse_error(it.error())); | 2408 | 0 | } | 2409 | | | 2410 | 8.26k | for (auto ch : str) { | 2411 | 8.26k | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2412 | 0 | return *it; | 2413 | 0 | } | 2414 | 8.26k | } | 2415 | | | 2416 | 4.13k | return unexpected(parse_error::error); | 2417 | 4.13k | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_NSM_17basic_string_viewIcNSM_11char_traitsIcEEEE _ZN3scn2v44impl21read_one_of_code_unitINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_NSJ_17basic_string_viewIcNSJ_11char_traitsIcEEEE Line | Count | Source | 2404 | 20 | { | 2405 | 20 | auto it = read_code_unit(range); | 2406 | 20 | if (SCN_UNLIKELY(!it)) { | 2407 | 6 | return unexpected(make_eof_parse_error(it.error())); | 2408 | 6 | } | 2409 | | | 2410 | 28 | for (auto ch : str) { | 2411 | 28 | if (*range.begin() == static_cast<detail::char_t<Range>>(ch)) { | 2412 | 0 | return *it; | 2413 | 0 | } | 2414 | 28 | } | 2415 | | | 2416 | 14 | return unexpected(parse_error::error); | 2417 | 14 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_14parse_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEESB_S7_ Unexecuted instantiation: _ZN3scn2v44impl21read_one_of_code_unitINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_14parse_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEESB_NS4_IcNS5_IcEEEE |
2418 | | |
2419 | | template <typename Range, template <class> class Expected, typename Iterator> |
2420 | | auto apply_opt(Expected<Iterator>&& result, Range range) |
2421 | | -> std::enable_if_t<detail::is_expected<Expected<Iterator>>::value, |
2422 | | ranges::const_iterator_t<Range>> |
2423 | 2.66k | { |
2424 | 2.66k | if (!result) { |
2425 | 2.64k | return range.begin(); |
2426 | 2.64k | } |
2427 | 24 | return *result; |
2428 | 2.66k | } Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2423 | 390 | { | 2424 | 390 | if (!result) { | 2425 | 390 | return range.begin(); | 2426 | 390 | } | 2427 | 0 | return *result; | 2428 | 390 | } |
_ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKcS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2423 | 948 | { | 2424 | 948 | if (!result) { | 2425 | 948 | return range.begin(); | 2426 | 948 | } | 2427 | 0 | return *result; | 2428 | 948 | } |
Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEENS1_14parse_expectedESE_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEEE4typeEOSQ_SS_ Unexecuted instantiation: _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_14parse_expectedESA_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEE4typeEOSI_SK_ _ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEENS1_14parse_expectedESB_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEEE4typeEOSN_SP_ Line | Count | Source | 2423 | 262 | { | 2424 | 262 | if (!result) { | 2425 | 256 | return range.begin(); | 2426 | 256 | } | 2427 | 6 | return *result; | 2428 | 262 | } |
_ZN3scn2v44impl9apply_optINS0_6ranges6detail9subrange_8subrangeIPKwS8_EENS1_14parse_expectedES8_EENSt3__19enable_ifIXsr6detail11is_expectedIT0_IT1_EEE5valueEDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEEE4typeEOSF_SH_ Line | Count | Source | 2423 | 1.06k | { | 2424 | 1.06k | if (!result) { | 2425 | 1.04k | return range.begin(); | 2426 | 1.04k | } | 2427 | 18 | return *result; | 2428 | 1.06k | } |
|
2429 | | |
2430 | | ///////////////////////////////////////////////////////////////// |
2431 | | // Text width calculation |
2432 | | ///////////////////////////////////////////////////////////////// |
2433 | | |
2434 | | constexpr std::size_t calculate_text_width_for_fmt_v10(char32_t cp) |
2435 | 185k | { |
2436 | 185k | if (cp >= 0x1100 && |
2437 | 185k | (cp <= 0x115f || // Hangul Jamo init. consonants |
2438 | 46.2k | cp == 0x2329 || // LEFT-POINTING ANGLE BRACKET |
2439 | 46.2k | cp == 0x232a || // RIGHT-POINTING ANGLE BRACKET |
2440 | | // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE: |
2441 | 46.2k | (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) || |
2442 | 46.2k | (cp >= 0xac00 && cp <= 0xd7a3) || // Hangul Syllables |
2443 | 46.2k | (cp >= 0xf900 && cp <= 0xfaff) || // CJK Compatibility Ideographs |
2444 | 46.2k | (cp >= 0xfe10 && cp <= 0xfe19) || // Vertical Forms |
2445 | 46.2k | (cp >= 0xfe30 && cp <= 0xfe6f) || // CJK Compatibility Forms |
2446 | 46.2k | (cp >= 0xff00 && cp <= 0xff60) || // Fullwidth Forms |
2447 | 46.2k | (cp >= 0xffe0 && cp <= 0xffe6) || // Fullwidth Forms |
2448 | 46.2k | (cp >= 0x20000 && cp <= 0x2fffd) || // CJK |
2449 | 46.2k | (cp >= 0x30000 && cp <= 0x3fffd) || |
2450 | | // Miscellaneous Symbols and Pictographs + Emoticons: |
2451 | 46.2k | (cp >= 0x1f300 && cp <= 0x1f64f) || |
2452 | | // Supplemental Symbols and Pictographs: |
2453 | 46.2k | (cp >= 0x1f900 && cp <= 0x1f9ff))) { |
2454 | 4.65k | return 2; |
2455 | 4.65k | } |
2456 | 180k | return 1; |
2457 | 185k | } |
2458 | | |
2459 | | constexpr std::size_t calculate_valid_text_width(char32_t cp) |
2460 | 119k | { |
2461 | 119k | return calculate_text_width_for_fmt_v10(cp); |
2462 | 119k | } |
2463 | | |
2464 | | template <typename CharT> |
2465 | | std::size_t calculate_valid_text_width(std::basic_string_view<CharT> input) |
2466 | | { |
2467 | | size_t count{0}; |
2468 | | for_each_code_point_valid(input, [&count](char32_t cp) { |
2469 | | count += calculate_text_width_for_fmt_v10(cp); |
2470 | | }); |
2471 | | return count; |
2472 | | } |
2473 | | |
2474 | | constexpr std::size_t calculate_text_width(char32_t cp) |
2475 | 250 | { |
2476 | 250 | return calculate_text_width_for_fmt_v10(cp); |
2477 | 250 | } |
2478 | | |
2479 | | template <typename CharT> |
2480 | | std::size_t calculate_text_width(std::basic_string_view<CharT> input) |
2481 | 46.1k | { |
2482 | 46.1k | size_t count{0}; |
2483 | 64.9k | for_each_code_point(input, [&count](char32_t cp) { |
2484 | 64.9k | count += calculate_text_width_for_fmt_v10(cp); |
2485 | 64.9k | }); scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2483 | 53.2k | for_each_code_point(input, [&count](char32_t cp) { | 2484 | 53.2k | count += calculate_text_width_for_fmt_v10(cp); | 2485 | 53.2k | }); |
scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >)::{lambda(char32_t)#1}::operator()(char32_t) constLine | Count | Source | 2483 | 11.6k | for_each_code_point(input, [&count](char32_t cp) { | 2484 | 11.6k | count += calculate_text_width_for_fmt_v10(cp); | 2485 | 11.6k | }); |
|
2486 | 46.1k | return count; |
2487 | 46.1k | } unsigned long scn::v4::impl::calculate_text_width<char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >) Line | Count | Source | 2481 | 42.5k | { | 2482 | 42.5k | size_t count{0}; | 2483 | 42.5k | for_each_code_point(input, [&count](char32_t cp) { | 2484 | 42.5k | count += calculate_text_width_for_fmt_v10(cp); | 2485 | 42.5k | }); | 2486 | 42.5k | return count; | 2487 | 42.5k | } |
unsigned long scn::v4::impl::calculate_text_width<wchar_t>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >) Line | Count | Source | 2481 | 3.64k | { | 2482 | 3.64k | size_t count{0}; | 2483 | 3.64k | for_each_code_point(input, [&count](char32_t cp) { | 2484 | 3.64k | count += calculate_text_width_for_fmt_v10(cp); | 2485 | 3.64k | }); | 2486 | 3.64k | return count; | 2487 | 3.64k | } |
|
2488 | | |
2489 | | namespace counted_width_iterator_impl { |
2490 | | template <typename It, typename S> |
2491 | | class counted_width_iterator { |
2492 | | static_assert(ranges::forward_iterator<It>); |
2493 | | static_assert(ranges::sentinel_for<S, It>); |
2494 | | |
2495 | | template <typename OtherIt, typename OtherS> |
2496 | | friend class counted_width_iterator; |
2497 | | |
2498 | | public: |
2499 | | using iterator = It; |
2500 | | using sentinel = S; |
2501 | | using value_type = ranges::iter_value_t<It>; |
2502 | | using pointer = value_type*; |
2503 | | using reference = value_type&; |
2504 | | using difference_type = ranges::iter_difference_t<It>; |
2505 | | using iterator_category = |
2506 | | std::conditional_t<ranges::bidirectional_iterator<It>, |
2507 | | std::bidirectional_iterator_tag, |
2508 | | std::forward_iterator_tag>; |
2509 | | |
2510 | | constexpr counted_width_iterator() = default; |
2511 | | |
2512 | | constexpr counted_width_iterator(iterator x, sentinel s, difference_type n) |
2513 | 55.7k | : m_current(x), m_end(s), m_count(n) |
2514 | 55.7k | { |
2515 | 55.7k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::counted_width_iterator(scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::counted_width_iterator(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t, long) Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>, long) scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>, long) Line | Count | Source | 2513 | 6.24k | : m_current(x), m_end(s), m_count(n) | 2514 | 6.24k | { | 2515 | 6.24k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::counted_width_iterator(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>, long) Line | Count | Source | 2513 | 3.80k | : m_current(x), m_end(s), m_count(n) | 2514 | 3.80k | { | 2515 | 3.80k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::counted_width_iterator(char const*, char const*, long) Line | Count | Source | 2513 | 28.6k | : m_current(x), m_end(s), m_count(n) | 2514 | 28.6k | { | 2515 | 28.6k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::counted_width_iterator(wchar_t const*, wchar_t const*, long) Line | Count | Source | 2513 | 17.0k | : m_current(x), m_end(s), m_count(n) | 2514 | 17.0k | { | 2515 | 17.0k | } |
|
2516 | | |
2517 | | template <typename OtherIt, |
2518 | | typename OtherS, |
2519 | | std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2520 | | std::is_convertible_v<OtherS, S>>* = nullptr> |
2521 | | constexpr counted_width_iterator( |
2522 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2523 | | : m_current(other.m_current), |
2524 | | m_end(other.m_end), |
2525 | | m_count(other.m_count), |
2526 | | m_multibyte_left(other.m_multibyte_left) |
2527 | | { |
2528 | | } |
2529 | | |
2530 | | template <typename OtherIt, typename OtherS> |
2531 | | constexpr auto operator=( |
2532 | | const counted_width_iterator<OtherIt, OtherS>& other) |
2533 | | -> std::enable_if_t<std::is_convertible_v<OtherIt, It> && |
2534 | | std::is_convertible_v<OtherS, S>, |
2535 | | counted_width_iterator&> |
2536 | | { |
2537 | | m_current = other.m_current; |
2538 | | m_end = other.m_end; |
2539 | | m_count = other.m_count; |
2540 | | m_multibyte_left = other.m_multibyte_left; |
2541 | | return *this; |
2542 | | } |
2543 | | |
2544 | | constexpr It base() const |
2545 | 283k | { |
2546 | 283k | return m_current; |
2547 | 283k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::base() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::base() const Line | Count | Source | 2545 | 187k | { | 2546 | 187k | return m_current; | 2547 | 187k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::base() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::base() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::base() const Line | Count | Source | 2545 | 64.7k | { | 2546 | 64.7k | return m_current; | 2547 | 64.7k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::base() const Line | Count | Source | 2545 | 22.3k | { | 2546 | 22.3k | return m_current; | 2547 | 22.3k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::base() const Line | Count | Source | 2545 | 8.60k | { | 2546 | 8.60k | return m_current; | 2547 | 8.60k | } |
|
2548 | | constexpr difference_type count() const |
2549 | 550k | { |
2550 | 550k | return m_count; |
2551 | 550k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::count() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::count() const Line | Count | Source | 2549 | 366k | { | 2550 | 366k | return m_count; | 2551 | 366k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::count() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::count() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::count() const Line | Count | Source | 2549 | 123k | { | 2550 | 123k | return m_count; | 2551 | 123k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::count() const Line | Count | Source | 2549 | 43.5k | { | 2550 | 43.5k | return m_count; | 2551 | 43.5k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::count() const Line | Count | Source | 2549 | 16.0k | { | 2550 | 16.0k | return m_count; | 2551 | 16.0k | } |
|
2552 | | constexpr difference_type multibyte_left() const |
2553 | 40.5k | { |
2554 | 40.5k | return m_multibyte_left; |
2555 | 40.5k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::multibyte_left() const Line | Count | Source | 2553 | 31.9k | { | 2554 | 31.9k | return m_multibyte_left; | 2555 | 31.9k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::multibyte_left() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::multibyte_left() const Line | Count | Source | 2553 | 4.26k | { | 2554 | 4.26k | return m_multibyte_left; | 2555 | 4.26k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::multibyte_left() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2553 | 3.40k | { | 2554 | 3.40k | return m_multibyte_left; | 2555 | 3.40k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::multibyte_left() const Line | Count | Source | 2553 | 842 | { | 2554 | 842 | return m_multibyte_left; | 2555 | 842 | } |
|
2556 | | |
2557 | | bool is_current_double_wide() const |
2558 | 14.5k | { |
2559 | 14.5k | assert(count() != 0 || multibyte_left() != 0); |
2560 | 14.5k | return _get_width_at_current_cp_start(_get_cp_length_at_current()) == 2; |
2561 | 14.5k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::is_current_double_wide() const Line | Count | Source | 2558 | 8.93k | { | 2559 | 8.93k | assert(count() != 0 || multibyte_left() != 0); | 2560 | 8.93k | return _get_width_at_current_cp_start(_get_cp_length_at_current()) == 2; | 2561 | 8.93k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::is_current_double_wide() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::is_current_double_wide() const Line | Count | Source | 2558 | 3.45k | { | 2559 | 3.45k | assert(count() != 0 || multibyte_left() != 0); | 2560 | 3.45k | return _get_width_at_current_cp_start(_get_cp_length_at_current()) == 2; | 2561 | 3.45k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::is_current_double_wide() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::is_current_double_wide() const Line | Count | Source | 2558 | 1.60k | { | 2559 | 1.60k | assert(count() != 0 || multibyte_left() != 0); | 2560 | 1.60k | return _get_width_at_current_cp_start(_get_cp_length_at_current()) == 2; | 2561 | 1.60k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::is_current_double_wide() const Line | Count | Source | 2558 | 576 | { | 2559 | 576 | assert(count() != 0 || multibyte_left() != 0); | 2560 | 576 | return _get_width_at_current_cp_start(_get_cp_length_at_current()) == 2; | 2561 | 576 | } |
|
2562 | | |
2563 | | constexpr decltype(auto) operator*() |
2564 | 248k | { |
2565 | 248k | return *m_current; |
2566 | 248k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() Line | Count | Source | 2564 | 169k | { | 2565 | 169k | return *m_current; | 2566 | 169k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() Line | Count | Source | 2564 | 62.0k | { | 2565 | 62.0k | return *m_current; | 2566 | 62.0k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator*() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator*() Line | Count | Source | 2564 | 12.8k | { | 2565 | 12.8k | return *m_current; | 2566 | 12.8k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator*() Line | Count | Source | 2564 | 5.03k | { | 2565 | 5.03k | return *m_current; | 2566 | 5.03k | } |
|
2567 | | constexpr decltype(auto) operator*() const |
2568 | 22.1k | { |
2569 | 22.1k | return *m_current; |
2570 | 22.1k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator*() const Line | Count | Source | 2568 | 16.1k | { | 2569 | 16.1k | return *m_current; | 2570 | 16.1k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator*() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator*() const Line | Count | Source | 2568 | 6.01k | { | 2569 | 6.01k | return *m_current; | 2570 | 6.01k | } |
|
2571 | | |
2572 | | constexpr counted_width_iterator& operator++() |
2573 | 254k | { |
2574 | 254k | SCN_EXPECT(m_current != m_end); |
2575 | 254k | _increment_current(); |
2576 | 254k | return *this; |
2577 | 254k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::operator++() Line | Count | Source | 2573 | 190k | { | 2574 | 190k | SCN_EXPECT(m_current != m_end); | 2575 | 190k | _increment_current(); | 2576 | 190k | return *this; | 2577 | 190k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::operator++() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::operator++() Line | Count | Source | 2573 | 44.3k | { | 2574 | 44.3k | SCN_EXPECT(m_current != m_end); | 2575 | 44.3k | _increment_current(); | 2576 | 44.3k | return *this; | 2577 | 44.3k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::operator++() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::operator++() Line | Count | Source | 2573 | 17.3k | { | 2574 | 17.3k | SCN_EXPECT(m_current != m_end); | 2575 | 17.3k | _increment_current(); | 2576 | 17.3k | return *this; | 2577 | 17.3k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::operator++() Line | Count | Source | 2573 | 2.43k | { | 2574 | 2.43k | SCN_EXPECT(m_current != m_end); | 2575 | 2.43k | _increment_current(); | 2576 | 2.43k | return *this; | 2577 | 2.43k | } |
|
2578 | | |
2579 | | constexpr counted_width_iterator operator++(int) |
2580 | | { |
2581 | | auto tmp = *this; |
2582 | | ++*this; |
2583 | | return tmp; |
2584 | | } |
2585 | | |
2586 | | template <typename Iter = It> |
2587 | | constexpr auto operator--() |
2588 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2589 | | counted_width_iterator&> |
2590 | 0 | { |
2591 | 0 | _decrement_current(); |
2592 | 0 | return *this; |
2593 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorIPKcS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINSt3__117basic_string_viewIcNS8_11char_traitsIcEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorIPKwS5_EmmIS5_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERS6_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINSt3__117basic_string_viewIwNS8_11char_traitsIwEEEEE8sentinelILb1EEEEmmIS6_EENS8_9enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKcS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv Unexecuted instantiation: _ZN3scn2v44impl27counted_width_iterator_impl22counted_width_iteratorINS3_IPKwS5_EENS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIS5_S5_EEE8sentinelILb1EEEEmmIS6_EENSt3__19enable_ifIXsr6rangesE22bidirectional_iteratorIT_EERSG_E4typeEv |
2594 | | |
2595 | | template <typename Iter = It> |
2596 | | constexpr auto operator--(int) |
2597 | | -> std::enable_if_t<ranges::bidirectional_iterator<Iter>, |
2598 | | counted_width_iterator> |
2599 | | { |
2600 | | auto tmp = *this; |
2601 | | --*this; |
2602 | | return tmp; |
2603 | | } |
2604 | | |
2605 | | // TODO: optimize, make better than forward, if possible |
2606 | | #if 0 |
2607 | | template <typename Iter = It> |
2608 | | constexpr auto operator+(difference_type n) -> std::enable_if_t< |
2609 | | ranges_std::random_access_iterator<Iter>, |
2610 | | counted_width_iterator> |
2611 | | { |
2612 | | // TODO |
2613 | | return counted_width_iterator(m_current + n, m_count - n); |
2614 | | } |
2615 | | |
2616 | | template <typename Iter = It, |
2617 | | std::enable_if_t<ranges_std::random_access_iterator< |
2618 | | Iter>>* = nullptr> |
2619 | | friend constexpr counted_width_iterator operator+( |
2620 | | ranges_std::iter_difference_t<Iter> n, |
2621 | | const counted_width_iterator<Iter>& x) |
2622 | | { |
2623 | | return x + n; |
2624 | | } |
2625 | | |
2626 | | template <typename Iter = It> |
2627 | | constexpr auto operator+=(difference_type n) |
2628 | | -> std::enable_if_t< |
2629 | | ranges_std::random_access_iterator<Iter>, |
2630 | | counted_width_iterator&> |
2631 | | { |
2632 | | // TODO |
2633 | | m_current += n; |
2634 | | m_count -= n; |
2635 | | return *this; |
2636 | | } |
2637 | | |
2638 | | template <typename Iter = It> |
2639 | | constexpr auto operator-(difference_type n) -> std::enable_if_t< |
2640 | | ranges_std::random_access_iterator<Iter>, |
2641 | | counted_width_iterator> |
2642 | | { |
2643 | | // TODO |
2644 | | return counted_width_iterator(m_current - n, m_count + n); |
2645 | | } |
2646 | | |
2647 | | template <typename Iter = It, |
2648 | | std::enable_if_t<ranges_std::random_access_iterator< |
2649 | | Iter>>* = nullptr> |
2650 | | constexpr decltype(auto) operator[](difference_type n) const |
2651 | | { |
2652 | | return m_current[n]; |
2653 | | } |
2654 | | #endif |
2655 | | |
2656 | | template <typename OtherIt, typename OtherS> |
2657 | | friend constexpr auto operator==( |
2658 | | const counted_width_iterator& a, |
2659 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2660 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2661 | 150k | { |
2662 | 150k | return a.m_current == b.m_current; |
2663 | 150k | } Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v4::impl::counted_width_iterator_impl::operator==<char const*, char const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2661 | 122k | { | 2662 | 122k | return a.m_current == b.m_current; | 2663 | 122k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v4::impl::counted_width_iterator_impl::operator==<wchar_t const*, wchar_t const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2661 | 17.1k | { | 2662 | 17.1k | return a.m_current == b.m_current; | 2663 | 17.1k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2661 | 10.7k | { | 2662 | 10.7k | return a.m_current == b.m_current; | 2663 | 10.7k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator==<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2664 | | template <typename OtherIt, typename OtherS> |
2665 | | friend constexpr auto operator!=( |
2666 | | const counted_width_iterator& a, |
2667 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2668 | | -> decltype(SCN_DECLVAL(const It&) == SCN_DECLVAL(const OtherIt&)) |
2669 | 135k | { |
2670 | 135k | return !(a == b); |
2671 | 135k | } Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<char>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<char const* const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<char const*, char const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&))()>(decltype(nullptr)))())==((static_cast<char const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2669 | 109k | { | 2670 | 109k | return !(a == b); | 2671 | 109k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const& (*)()>(decltype(nullptr)))())) Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<wchar_t const* const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<wchar_t const*, wchar_t const*>(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&))()>(decltype(nullptr)))())==((static_cast<wchar_t const* const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2669 | 15.6k | { | 2670 | 15.6k | return !(a == b); | 2671 | 15.6k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const& (*)()>(decltype(nullptr)))())) Line | Count | Source | 2669 | 10.7k | { | 2670 | 10.7k | return !(a == b); | 2671 | 10.7k | } |
Unexecuted instantiation: decltype (((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*scn::v4::impl::counted_width_iterator_impl::operator!=<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&))()>(decltype(nullptr)))())==((static_cast<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const& (*)()>(decltype(nullptr)))())) |
2672 | | |
2673 | | friend constexpr bool operator==(const counted_width_iterator& x, |
2674 | | ranges::default_sentinel_t) |
2675 | | { |
2676 | | return (x.count() == 0 && x.multibyte_left() == 0) || |
2677 | | (x.count() == 1 && x.multibyte_left() == 0 && |
2678 | | x.is_current_double_wide()); |
2679 | | } |
2680 | | friend constexpr bool operator==(ranges::default_sentinel_t s, |
2681 | | const counted_width_iterator& x) |
2682 | | { |
2683 | | return x == s; |
2684 | | } |
2685 | | |
2686 | | friend constexpr bool operator!=(const counted_width_iterator& a, |
2687 | | ranges::default_sentinel_t b) |
2688 | | { |
2689 | | return !(a == b); |
2690 | | } |
2691 | | friend constexpr bool operator!=(ranges::default_sentinel_t a, |
2692 | | const counted_width_iterator& b) |
2693 | | { |
2694 | | return !(a == b); |
2695 | | } |
2696 | | |
2697 | | template <typename OtherIt, typename OtherS> |
2698 | | friend constexpr auto operator<( |
2699 | | const counted_width_iterator& a, |
2700 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2701 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2702 | | { |
2703 | | if (a.count() == b.count()) { |
2704 | | return a.multibyte_left() > b.multibyte_left(); |
2705 | | } |
2706 | | |
2707 | | return a.count() > b.count(); |
2708 | | } |
2709 | | |
2710 | | template <typename OtherIt, typename OtherS> |
2711 | | friend constexpr auto operator>( |
2712 | | const counted_width_iterator& a, |
2713 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2714 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2715 | | { |
2716 | | return !(b < a); |
2717 | | } |
2718 | | |
2719 | | template <typename OtherIt, typename OtherS> |
2720 | | friend constexpr auto operator<=( |
2721 | | const counted_width_iterator& a, |
2722 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2723 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2724 | | { |
2725 | | return !(b < a); |
2726 | | } |
2727 | | |
2728 | | template <typename OtherIt, typename OtherS> |
2729 | | friend constexpr auto operator>=( |
2730 | | const counted_width_iterator& a, |
2731 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2732 | | -> decltype(SCN_DECLVAL(const It&) < SCN_DECLVAL(const OtherIt&)) |
2733 | | { |
2734 | | return !(a < b); |
2735 | | } |
2736 | | |
2737 | | #if 0 |
2738 | | template <typename OtherIt, typename OtherS> |
2739 | | friend constexpr auto operator-( |
2740 | | const counted_width_iterator& a, |
2741 | | const counted_width_iterator<OtherIt, OtherS>& b) |
2742 | | -> std::enable_if_t<ranges_std::common_with<OtherIt, It>, |
2743 | | ranges_std::iter_difference_t<OtherIt>> |
2744 | | { |
2745 | | // TODO |
2746 | | } |
2747 | | |
2748 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2749 | | const counted_width_iterator& x, |
2750 | | ranges_std::default_sentinel_t) |
2751 | | { |
2752 | | // TODO |
2753 | | } |
2754 | | |
2755 | | friend constexpr ranges_std::iter_difference_t<It> operator-( |
2756 | | ranges_std::default_sentinel_t, |
2757 | | const counted_width_iterator& x) |
2758 | | { |
2759 | | // TODO |
2760 | | } |
2761 | | #endif |
2762 | | |
2763 | | #if 0 |
2764 | | template <typename Iter = It> |
2765 | | constexpr auto operator-=(difference_type n) |
2766 | | -> std::enable_if_t< |
2767 | | ranges_std::random_access_iterator<Iter>, |
2768 | | counted_width_iterator&> |
2769 | | { |
2770 | | // TODO |
2771 | | m_current -= n; |
2772 | | m_count += n; |
2773 | | return *this; |
2774 | | } |
2775 | | #endif |
2776 | | |
2777 | | private: |
2778 | | difference_type _get_cp_length_at_current() const |
2779 | 162k | { |
2780 | 162k | return static_cast<difference_type>( |
2781 | 162k | detail::code_point_length_by_starting_code_unit(*m_current)); |
2782 | 162k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_cp_length_at_current() const Line | Count | Source | 2779 | 100k | { | 2780 | 100k | return static_cast<difference_type>( | 2781 | 100k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2782 | 100k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_cp_length_at_current() const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_cp_length_at_current() const Line | Count | Source | 2779 | 47.7k | { | 2780 | 47.7k | return static_cast<difference_type>( | 2781 | 47.7k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2782 | 47.7k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_cp_length_at_current() const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2779 | 10.7k | { | 2780 | 10.7k | return static_cast<difference_type>( | 2781 | 10.7k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2782 | 10.7k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_cp_length_at_current() const Line | Count | Source | 2779 | 3.00k | { | 2780 | 3.00k | return static_cast<difference_type>( | 2781 | 3.00k | detail::code_point_length_by_starting_code_unit(*m_current)); | 2782 | 3.00k | } |
|
2783 | | |
2784 | | difference_type _get_width_at_current_cp_start(difference_type cplen) const |
2785 | 162k | { |
2786 | 162k | if (SCN_UNLIKELY(cplen == 0)) { |
2787 | 1.80k | return 0; |
2788 | 1.80k | } |
2789 | | |
2790 | 160k | if (cplen == 1) { |
2791 | 119k | SCN_EXPECT(m_current != m_end); |
2792 | 119k | auto cp = static_cast<char32_t>(*m_current); |
2793 | 119k | return static_cast<difference_type>(calculate_valid_text_width(cp)); |
2794 | 119k | } |
2795 | | |
2796 | 40.6k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, |
2797 | 40.6k | cplen); |
2798 | 40.6k | if (SCN_UNLIKELY(!r)) { |
2799 | 422 | return 0; |
2800 | 422 | } |
2801 | | |
2802 | 40.2k | auto cp_str = std::basic_string<value_type>{m_current, *r}; |
2803 | 40.2k | return static_cast<difference_type>( |
2804 | 40.2k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); |
2805 | 40.6k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2785 | 100k | { | 2786 | 100k | if (SCN_UNLIKELY(cplen == 0)) { | 2787 | 1.80k | return 0; | 2788 | 1.80k | } | 2789 | | | 2790 | 99.0k | if (cplen == 1) { | 2791 | 63.7k | SCN_EXPECT(m_current != m_end); | 2792 | 63.7k | auto cp = static_cast<char32_t>(*m_current); | 2793 | 63.7k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2794 | 63.7k | } | 2795 | | | 2796 | 35.3k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2797 | 35.3k | cplen); | 2798 | 35.3k | if (SCN_UNLIKELY(!r)) { | 2799 | 422 | return 0; | 2800 | 422 | } | 2801 | | | 2802 | 34.9k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2803 | 34.9k | return static_cast<difference_type>( | 2804 | 34.9k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2805 | 35.3k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_get_width_at_current_cp_start(long) const Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_get_width_at_current_cp_start(long) const Line | Count | Source | 2785 | 47.7k | { | 2786 | 47.7k | if (SCN_UNLIKELY(cplen == 0)) { | 2787 | 0 | return 0; | 2788 | 0 | } | 2789 | | | 2790 | 47.7k | if (cplen == 1) { | 2791 | 47.7k | SCN_EXPECT(m_current != m_end); | 2792 | 47.7k | auto cp = static_cast<char32_t>(*m_current); | 2793 | 47.7k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2794 | 47.7k | } | 2795 | | | 2796 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2797 | 0 | cplen); | 2798 | 0 | if (SCN_UNLIKELY(!r)) { | 2799 | 0 | return 0; | 2800 | 0 | } | 2801 | | | 2802 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2803 | 0 | return static_cast<difference_type>( | 2804 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2805 | 0 | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_get_width_at_current_cp_start(long) const scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2785 | 10.7k | { | 2786 | 10.7k | if (SCN_UNLIKELY(cplen == 0)) { | 2787 | 0 | return 0; | 2788 | 0 | } | 2789 | | | 2790 | 10.7k | if (cplen == 1) { | 2791 | 5.41k | SCN_EXPECT(m_current != m_end); | 2792 | 5.41k | auto cp = static_cast<char32_t>(*m_current); | 2793 | 5.41k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2794 | 5.41k | } | 2795 | | | 2796 | 5.34k | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2797 | 5.34k | cplen); | 2798 | 5.34k | if (SCN_UNLIKELY(!r)) { | 2799 | 0 | return 0; | 2800 | 0 | } | 2801 | | | 2802 | 5.34k | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2803 | 5.34k | return static_cast<difference_type>( | 2804 | 5.34k | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2805 | 5.34k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_get_width_at_current_cp_start(long) const Line | Count | Source | 2785 | 3.00k | { | 2786 | 3.00k | if (SCN_UNLIKELY(cplen == 0)) { | 2787 | 0 | return 0; | 2788 | 0 | } | 2789 | | | 2790 | 3.00k | if (cplen == 1) { | 2791 | 3.00k | SCN_EXPECT(m_current != m_end); | 2792 | 3.00k | auto cp = static_cast<char32_t>(*m_current); | 2793 | 3.00k | return static_cast<difference_type>(calculate_valid_text_width(cp)); | 2794 | 3.00k | } | 2795 | | | 2796 | 0 | auto r = read_exactly_n_code_units(ranges::subrange{m_current, m_end}, | 2797 | 0 | cplen); | 2798 | 0 | if (SCN_UNLIKELY(!r)) { | 2799 | 0 | return 0; | 2800 | 0 | } | 2801 | | | 2802 | 0 | auto cp_str = std::basic_string<value_type>{m_current, *r}; | 2803 | 0 | return static_cast<difference_type>( | 2804 | 0 | calculate_text_width(std::basic_string_view<value_type>{cp_str})); | 2805 | 0 | } |
|
2806 | | |
2807 | | void _increment_current() |
2808 | 254k | { |
2809 | 254k | if (m_multibyte_left == 0) { |
2810 | 147k | auto cplen = _get_cp_length_at_current(); |
2811 | 147k | m_multibyte_left = cplen - 1; |
2812 | 147k | m_count -= _get_width_at_current_cp_start(cplen); |
2813 | 147k | } |
2814 | 106k | else { |
2815 | 106k | --m_multibyte_left; |
2816 | 106k | } |
2817 | | |
2818 | 254k | ++m_current; |
2819 | 254k | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_increment_current() Line | Count | Source | 2808 | 190k | { | 2809 | 190k | if (m_multibyte_left == 0) { | 2810 | 91.9k | auto cplen = _get_cp_length_at_current(); | 2811 | 91.9k | m_multibyte_left = cplen - 1; | 2812 | 91.9k | m_count -= _get_width_at_current_cp_start(cplen); | 2813 | 91.9k | } | 2814 | 98.0k | else { | 2815 | 98.0k | --m_multibyte_left; | 2816 | 98.0k | } | 2817 | | | 2818 | 190k | ++m_current; | 2819 | 190k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>::_increment_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_increment_current() Line | Count | Source | 2808 | 44.3k | { | 2809 | 44.3k | if (m_multibyte_left == 0) { | 2810 | 44.3k | auto cplen = _get_cp_length_at_current(); | 2811 | 44.3k | m_multibyte_left = cplen - 1; | 2812 | 44.3k | m_count -= _get_width_at_current_cp_start(cplen); | 2813 | 44.3k | } | 2814 | 0 | else { | 2815 | 0 | --m_multibyte_left; | 2816 | 0 | } | 2817 | | | 2818 | 44.3k | ++m_current; | 2819 | 44.3k | } |
Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_increment_current() scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2808 | 17.3k | { | 2809 | 17.3k | if (m_multibyte_left == 0) { | 2810 | 9.15k | auto cplen = _get_cp_length_at_current(); | 2811 | 9.15k | m_multibyte_left = cplen - 1; | 2812 | 9.15k | m_count -= _get_width_at_current_cp_start(cplen); | 2813 | 9.15k | } | 2814 | 8.18k | else { | 2815 | 8.18k | --m_multibyte_left; | 2816 | 8.18k | } | 2817 | | | 2818 | 17.3k | ++m_current; | 2819 | 17.3k | } |
scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_increment_current() Line | Count | Source | 2808 | 2.43k | { | 2809 | 2.43k | if (m_multibyte_left == 0) { | 2810 | 2.43k | auto cplen = _get_cp_length_at_current(); | 2811 | 2.43k | m_multibyte_left = cplen - 1; | 2812 | 2.43k | m_count -= _get_width_at_current_cp_start(cplen); | 2813 | 2.43k | } | 2814 | 0 | else { | 2815 | 0 | --m_multibyte_left; | 2816 | 0 | } | 2817 | | | 2818 | 2.43k | ++m_current; | 2819 | 2.43k | } |
|
2820 | | |
2821 | | void _decrement_current() |
2822 | 0 | { |
2823 | 0 | --m_current; |
2824 | |
|
2825 | 0 | auto cplen = _get_cp_length_at_current(); |
2826 | 0 | if (cplen == 0) { |
2827 | 0 | ++m_multibyte_left; |
2828 | 0 | } |
2829 | 0 | else { |
2830 | 0 | m_count += _get_width_at_current_cp_start(cplen); |
2831 | 0 | m_multibyte_left = cplen - 1; |
2832 | 0 | } |
2833 | 0 | } Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> >::_decrement_current() Unexecuted instantiation: scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> >::_decrement_current() |
2834 | | |
2835 | | It m_current{}; |
2836 | | S m_end{}; |
2837 | | difference_type m_count{0}; |
2838 | | difference_type m_multibyte_left{0}; |
2839 | | }; |
2840 | | |
2841 | | template <typename I, typename S> |
2842 | | counted_width_iterator(I, S, ranges::iter_difference_t<I>) |
2843 | | -> counted_width_iterator<I, S>; |
2844 | | } // namespace counted_width_iterator_impl |
2845 | | |
2846 | | using counted_width_iterator_impl::counted_width_iterator; |
2847 | | |
2848 | | template <typename View, typename = void> |
2849 | | struct take_width_view_storage; |
2850 | | |
2851 | | template <typename View> |
2852 | | struct take_width_view_storage<View, |
2853 | | std::enable_if_t<ranges::borrowed_range<View>>> { |
2854 | 25.1k | take_width_view_storage(const View& v) : view(v) {}Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::take_width_view_storage(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::take_width_view_storage(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&) scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&) Line | Count | Source | 2854 | 12.6k | take_width_view_storage(const View& v) : view(v) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::take_width_view_storage(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&) Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::take_width_view_storage(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&) scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::take_width_view_storage(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&) Line | Count | Source | 2854 | 6.55k | take_width_view_storage(const View& v) : view(v) {} |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&) Line | Count | Source | 2854 | 3.76k | take_width_view_storage(const View& v) : view(v) {} |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::take_width_view_storage(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&) Line | Count | Source | 2854 | 2.15k | take_width_view_storage(const View& v) : view(v) {} |
|
2855 | | |
2856 | | const View& get() const |
2857 | 250k | { |
2858 | 250k | return view; |
2859 | 250k | } Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<char, std::__1::char_traits<char> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >, void>::get() const scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, void>::get() const Line | Count | Source | 2857 | 142k | { | 2858 | 142k | return view; | 2859 | 142k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, void>::get() const Unexecuted instantiation: scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >, void>::get() const scn::v4::impl::take_width_view_storage<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, void>::get() const Line | Count | Source | 2857 | 67.2k | { | 2858 | 67.2k | return view; | 2859 | 67.2k | } |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >, void>::get() const Line | Count | Source | 2857 | 26.5k | { | 2858 | 26.5k | return view; | 2859 | 26.5k | } |
scn::v4::impl::take_width_view_storage<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >, void>::get() const Line | Count | Source | 2857 | 14.4k | { | 2858 | 14.4k | return view; | 2859 | 14.4k | } |
|
2860 | | |
2861 | | View view; |
2862 | | }; |
2863 | | |
2864 | | template <typename View> |
2865 | | struct take_width_view_storage< |
2866 | | View, |
2867 | | std::enable_if_t<!ranges::borrowed_range<View>>> { |
2868 | | take_width_view_storage(const View& v) : view(&v) {} |
2869 | | |
2870 | | const View& get() const |
2871 | | { |
2872 | | return *view; |
2873 | | } |
2874 | | |
2875 | | const View* view; |
2876 | | }; |
2877 | | |
2878 | | template <typename View> |
2879 | | class take_width_view : public ranges::view_interface<take_width_view<View>> { |
2880 | | template <bool IsConst> |
2881 | | class sentinel { |
2882 | | friend class sentinel<!IsConst>; |
2883 | | using Base = std::conditional_t<IsConst, const View, View>; |
2884 | | using CWI = counted_width_iterator<ranges::iterator_t<Base>, |
2885 | | ranges::sentinel_t<Base>>; |
2886 | | using underlying = ranges::sentinel_t<Base>; |
2887 | | |
2888 | | public: |
2889 | | constexpr sentinel() = default; |
2890 | | |
2891 | 139k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {}Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>::sentinel(scn::v4::ranges::default_sentinel_t) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true>) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>) scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>) Line | Count | Source | 2891 | 14.0k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true>::sentinel(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>) Line | Count | Source | 2891 | 6.83k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true>::sentinel(char const*) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true>::sentinel(char const*) Line | Count | Source | 2891 | 85.2k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true>::sentinel(wchar_t const*) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true>::sentinel(wchar_t const*) Line | Count | Source | 2891 | 33.1k | constexpr explicit sentinel(underlying s) : m_end(SCN_MOVE(s)) {} |
|
2892 | | |
2893 | | template < |
2894 | | typename S, |
2895 | | std::enable_if_t<std::is_same_v<S, sentinel<!IsConst>>>* = nullptr, |
2896 | | bool C = IsConst, |
2897 | | typename VV = View, |
2898 | | std::enable_if_t<C && std::is_convertible_v<ranges::sentinel_t<VV>, |
2899 | | underlying>>* = nullptr> |
2900 | | constexpr explicit sentinel(S s) : m_end(SCN_MOVE(s.m_end)) |
2901 | | { |
2902 | | } |
2903 | | |
2904 | | constexpr underlying base() const |
2905 | | { |
2906 | | return m_end; |
2907 | | } |
2908 | | |
2909 | | friend constexpr bool operator==(const CWI& y, const sentinel& x) |
2910 | 265k | { |
2911 | 265k | return (y.count() == 0 && y.multibyte_left() == 0) || |
2912 | 265k | y.base() == x.m_end || |
2913 | 265k | (y.count() == 1 && y.multibyte_left() == 0 && |
2914 | 260k | y.is_current_double_wide()); |
2915 | 265k | } Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2910 | 178k | { | 2911 | 178k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2912 | 178k | y.base() == x.m_end || | 2913 | 178k | (y.count() == 1 && y.multibyte_left() == 0 && | 2914 | 176k | y.is_current_double_wide()); | 2915 | 178k | } |
Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2910 | 59.8k | { | 2911 | 59.8k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2912 | 59.8k | y.base() == x.m_end || | 2913 | 59.8k | (y.count() == 1 && y.multibyte_left() == 0 && | 2914 | 58.5k | y.is_current_double_wide()); | 2915 | 59.8k | } |
scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2910 | 19.5k | { | 2911 | 19.5k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2912 | 19.5k | y.base() == x.m_end || | 2913 | 19.5k | (y.count() == 1 && y.multibyte_left() == 0 && | 2914 | 18.8k | y.is_current_double_wide()); | 2915 | 19.5k | } |
scn::v4::impl::operator==(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2910 | 6.83k | { | 2911 | 6.83k | return (y.count() == 0 && y.multibyte_left() == 0) || | 2912 | 6.83k | y.base() == x.m_end || | 2913 | 6.83k | (y.count() == 1 && y.multibyte_left() == 0 && | 2914 | 6.56k | y.is_current_double_wide()); | 2915 | 6.83k | } |
|
2916 | | |
2917 | | friend constexpr bool operator==(const sentinel& x, const CWI& y) |
2918 | | { |
2919 | | return y == x; |
2920 | | } |
2921 | | |
2922 | | friend constexpr bool operator!=(const CWI& y, const sentinel& x) |
2923 | 133k | { |
2924 | 133k | return !(y == x); |
2925 | 133k | } Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::sentinel<true> const&) scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> const&) Line | Count | Source | 2923 | 92.1k | { | 2924 | 92.1k | return !(y == x); | 2925 | 92.1k | } |
Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> const&) Unexecuted instantiation: scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::sentinel<true> const&) scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> const&) Line | Count | Source | 2923 | 29.6k | { | 2924 | 29.6k | return !(y == x); | 2925 | 29.6k | } |
scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::sentinel<true> const&) Line | Count | Source | 2923 | 9.12k | { | 2924 | 9.12k | return !(y == x); | 2925 | 9.12k | } |
scn::v4::impl::operator!=(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::sentinel<true> > const&, scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::sentinel<true> const&) Line | Count | Source | 2923 | 3.04k | { | 2924 | 3.04k | return !(y == x); | 2925 | 3.04k | } |
|
2926 | | |
2927 | | friend constexpr bool operator!=(const sentinel& x, const CWI& y) |
2928 | | { |
2929 | | return !(y == x); |
2930 | | } |
2931 | | |
2932 | | private: |
2933 | | SCN_NO_UNIQUE_ADDRESS underlying m_end{}; |
2934 | | }; |
2935 | | |
2936 | | public: |
2937 | | using value_type = ranges::range_value_t<View>; |
2938 | | |
2939 | | take_width_view() = default; |
2940 | | |
2941 | | constexpr take_width_view(const View& base, std::ptrdiff_t count) |
2942 | 25.1k | : m_base(base), m_count(count) |
2943 | 25.1k | { |
2944 | 25.1k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::take_width_view(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::take_width_view(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) Line | Count | Source | 2942 | 12.6k | : m_base(base), m_count(count) | 2943 | 12.6k | { | 2944 | 12.6k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::take_width_view(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::take_width_view(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::take_width_view(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) Line | Count | Source | 2942 | 6.55k | : m_base(base), m_count(count) | 2943 | 6.55k | { | 2944 | 6.55k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) Line | Count | Source | 2942 | 3.76k | : m_base(base), m_count(count) | 2943 | 3.76k | { | 2944 | 3.76k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::take_width_view(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) Line | Count | Source | 2942 | 2.15k | : m_base(base), m_count(count) | 2943 | 2.15k | { | 2944 | 2.15k | } |
|
2945 | | |
2946 | | constexpr View base() const |
2947 | | { |
2948 | | return m_base; |
2949 | | } |
2950 | | |
2951 | | constexpr auto begin() const |
2952 | 55.7k | { |
2953 | 55.7k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), |
2954 | 55.7k | m_count}; |
2955 | 55.7k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::begin() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::begin() const Line | Count | Source | 2952 | 28.6k | { | 2953 | 28.6k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2954 | 28.6k | m_count}; | 2955 | 28.6k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::begin() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::begin() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::begin() const Line | Count | Source | 2952 | 17.0k | { | 2953 | 17.0k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2954 | 17.0k | m_count}; | 2955 | 17.0k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::begin() const Line | Count | Source | 2952 | 6.24k | { | 2953 | 6.24k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2954 | 6.24k | m_count}; | 2955 | 6.24k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::begin() const Line | Count | Source | 2952 | 3.80k | { | 2953 | 3.80k | return counted_width_iterator{m_base.get().begin(), m_base.get().end(), | 2954 | 3.80k | m_count}; | 2955 | 3.80k | } |
|
2956 | | |
2957 | | constexpr auto end() const |
2958 | 139k | { |
2959 | 139k | return sentinel<true>{m_base.get().end()}; |
2960 | 139k | } Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >::end() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >::end() const Line | Count | Source | 2958 | 85.2k | { | 2959 | 85.2k | return sentinel<true>{m_base.get().end()}; | 2960 | 85.2k | } |
Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >::end() const Unexecuted instantiation: scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >::end() const scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >::end() const Line | Count | Source | 2958 | 33.1k | { | 2959 | 33.1k | return sentinel<true>{m_base.get().end()}; | 2960 | 33.1k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >::end() const Line | Count | Source | 2958 | 14.0k | { | 2959 | 14.0k | return sentinel<true>{m_base.get().end()}; | 2960 | 14.0k | } |
scn::v4::impl::take_width_view<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >::end() const Line | Count | Source | 2958 | 6.83k | { | 2959 | 6.83k | return sentinel<true>{m_base.get().end()}; | 2960 | 6.83k | } |
|
2961 | | |
2962 | | private: |
2963 | | take_width_view_storage<View> m_base{}; |
2964 | | std::ptrdiff_t m_count{0}; |
2965 | | }; |
2966 | | |
2967 | | template <typename R> |
2968 | | take_width_view(R&&, std::ptrdiff_t) -> take_width_view<R>; |
2969 | | |
2970 | | struct _take_width_fn { |
2971 | | template <typename R> |
2972 | | constexpr auto operator()(const R& r, std::ptrdiff_t n) const |
2973 | | -> decltype(take_width_view{r, n}) |
2974 | 25.1k | { |
2975 | 25.1k | return take_width_view{r, n}; |
2976 | 25.1k | } Unexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<char, std::__1::char_traits<char> > > const&, long) constdecltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> const&, long) constLine | Count | Source | 2974 | 12.6k | { | 2975 | 12.6k | return take_width_view{r, n}; | 2976 | 12.6k | } |
Unexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > const&, long) constUnexecuted instantiation: decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > >(scn::v4::impl::take_width_view<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > > const&, long) constdecltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> const&, long) constLine | Count | Source | 2974 | 6.55k | { | 2975 | 6.55k | return take_width_view{r, n}; | 2976 | 6.55k | } |
decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > const&, long) constLine | Count | Source | 2974 | 3.76k | { | 2975 | 3.76k | return take_width_view{r, n}; | 2976 | 3.76k | } |
decltype (scn::v4::impl::take_width_view{{parm#1}, {parm#2}}) scn::v4::impl::_take_width_fn::operator()<scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > const&, long) constLine | Count | Source | 2974 | 2.15k | { | 2975 | 2.15k | return take_width_view{r, n}; | 2976 | 2.15k | } |
|
2977 | | }; |
2978 | | |
2979 | | inline constexpr _take_width_fn take_width{}; |
2980 | | } // namespace impl |
2981 | | |
2982 | | namespace ranges { |
2983 | | template <typename R> |
2984 | | inline constexpr bool enable_borrowed_range<::scn::impl::take_width_view<R>> = |
2985 | | enable_borrowed_range<R>; |
2986 | | } |
2987 | | |
2988 | | ///////////////////////////////////////////////////////////////// |
2989 | | // contiguous_scan_context |
2990 | | ///////////////////////////////////////////////////////////////// |
2991 | | |
2992 | | template <typename CharT> |
2993 | | class basic_scan_context<ranges::subrange<const CharT*, const CharT*>, CharT> |
2994 | | : public detail::scan_context_base<basic_scan_args< |
2995 | | basic_scan_context<detail::buffer_range_tag, CharT>>> { |
2996 | | using base = detail::scan_context_base< |
2997 | | basic_scan_args<basic_scan_context<detail::buffer_range_tag, CharT>>>; |
2998 | | |
2999 | | using parent_context_type = |
3000 | | basic_scan_context<detail::buffer_range_tag, CharT>; |
3001 | | using args_type = basic_scan_args<parent_context_type>; |
3002 | | using arg_type = basic_scan_arg<parent_context_type>; |
3003 | | |
3004 | | public: |
3005 | | using char_type = CharT; |
3006 | | using range_type = ranges::subrange<const char_type*, const char_type*>; |
3007 | | using iterator = const char_type*; |
3008 | | using sentinel = const char_type*; |
3009 | | using parse_context_type = basic_scan_parse_context<char_type>; |
3010 | | |
3011 | | template <typename Range, |
3012 | | std::enable_if_t<ranges::contiguous_range<Range> && |
3013 | | ranges::borrowed_range<Range>>* = nullptr> |
3014 | | constexpr basic_scan_context(Range&& r, |
3015 | | args_type a, |
3016 | | detail::locale_ref loc = {}) |
3017 | 183k | : base(SCN_MOVE(a), loc), |
3018 | 183k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), |
3019 | 183k | m_current(m_range.begin()) |
3020 | 183k | { |
3021 | 183k | } Unexecuted instantiation: _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS7_EEcEC2INSt3__117basic_string_viewIcNSB_11char_traitsIcEEEETnPNSB_9enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISH_EEvE4typeELPv0EEEOSH_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEcEEEENSO_10locale_refE Unexecuted instantiation: _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS7_EEwEC2INSt3__117basic_string_viewIwNSB_11char_traitsIwEEEETnPNSB_9enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISH_EEvE4typeELPv0EEEOSH_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEwEEEENSO_10locale_refE _ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS7_EEcEC2IRS8_TnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISE_EEvE4typeELPv0EEEOSE_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEcEEEENSL_10locale_refE Line | Count | Source | 3017 | 61.2k | : base(SCN_MOVE(a), loc), | 3018 | 61.2k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), | 3019 | 61.2k | m_current(m_range.begin()) | 3020 | 61.2k | { | 3021 | 61.2k | } |
_ZN3scn2v418basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS7_EEwEC2IRS8_TnPNSt3__19enable_ifIXaasr6rangesE16contiguous_rangeIT_Esr6rangesE14borrowed_rangeISE_EEvE4typeELPv0EEEOSE_NS0_15basic_scan_argsINS1_INS0_6detail16buffer_range_tagEwEEEENSL_10locale_refE Line | Count | Source | 3017 | 122k | : base(SCN_MOVE(a), loc), | 3018 | 122k | m_range(ranges::data(r), ranges::data(r) + ranges::size(r)), | 3019 | 122k | m_current(m_range.begin()) | 3020 | 122k | { | 3021 | 122k | } |
|
3022 | | |
3023 | | constexpr iterator begin() const |
3024 | 579k | { |
3025 | 579k | return m_current; |
3026 | 579k | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::begin() const Line | Count | Source | 3024 | 179k | { | 3025 | 179k | return m_current; | 3026 | 179k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::begin() const Line | Count | Source | 3024 | 399k | { | 3025 | 399k | return m_current; | 3026 | 399k | } |
|
3027 | | |
3028 | | constexpr sentinel end() const |
3029 | 674k | { |
3030 | 674k | return m_range.end(); |
3031 | 674k | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::end() const Line | Count | Source | 3029 | 192k | { | 3030 | 192k | return m_range.end(); | 3031 | 192k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::end() const Line | Count | Source | 3029 | 481k | { | 3030 | 481k | return m_range.end(); | 3031 | 481k | } |
|
3032 | | |
3033 | | constexpr auto range() const |
3034 | 70.0k | { |
3035 | 70.0k | return ranges::subrange{begin(), end()}; |
3036 | 70.0k | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::range() const Line | Count | Source | 3034 | 42.1k | { | 3035 | 42.1k | return ranges::subrange{begin(), end()}; | 3036 | 42.1k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::range() const Line | Count | Source | 3034 | 27.9k | { | 3035 | 27.9k | return ranges::subrange{begin(), end()}; | 3036 | 27.9k | } |
|
3037 | | |
3038 | | constexpr auto underlying_range() const |
3039 | 0 | { |
3040 | 0 | return m_range; |
3041 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::underlying_range() const Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::underlying_range() const |
3042 | | |
3043 | | void advance_to(iterator it) |
3044 | 282k | { |
3045 | 282k | SCN_EXPECT(it <= end()); |
3046 | 282k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { |
3047 | 282k | if (it == nullptr) { |
3048 | 0 | it = end(); |
3049 | 0 | } |
3050 | 282k | } |
3051 | 282k | m_current = SCN_MOVE(it); |
3052 | 282k | } scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::advance_to(char const*) Line | Count | Source | 3044 | 76.1k | { | 3045 | 76.1k | SCN_EXPECT(it <= end()); | 3046 | 76.1k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 3047 | 76.1k | if (it == nullptr) { | 3048 | 0 | it = end(); | 3049 | 0 | } | 3050 | 76.1k | } | 3051 | 76.1k | m_current = SCN_MOVE(it); | 3052 | 76.1k | } |
scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::advance_to(wchar_t const*) Line | Count | Source | 3044 | 206k | { | 3045 | 206k | SCN_EXPECT(it <= end()); | 3046 | 206k | if constexpr (detail::is_comparable_with_nullptr<iterator>) { | 3047 | 206k | if (it == nullptr) { | 3048 | 0 | it = end(); | 3049 | 0 | } | 3050 | 206k | } | 3051 | 206k | m_current = SCN_MOVE(it); | 3052 | 206k | } |
|
3053 | | |
3054 | | void advance_to(const typename parent_context_type::iterator& it) |
3055 | 0 | { |
3056 | 0 | SCN_EXPECT(it.position() <= m_range.size()); |
3057 | 0 | m_current = m_range.begin() + it.position(); |
3058 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::advance_to(scn::v4::detail::basic_scan_buffer<char>::forward_iterator const&) Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::advance_to(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const&) |
3059 | | |
3060 | | std::ptrdiff_t begin_position() |
3061 | 0 | { |
3062 | 0 | return ranges::distance(m_range.begin(), begin()); |
3063 | 0 | } Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>::begin_position() Unexecuted instantiation: scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t>::begin_position() |
3064 | | |
3065 | | private: |
3066 | | range_type m_range; |
3067 | | iterator m_current; |
3068 | | }; |
3069 | | |
3070 | | namespace impl { |
3071 | | template <typename CharT> |
3072 | | using basic_contiguous_scan_context = |
3073 | | basic_scan_context<ranges::subrange<const CharT*, const CharT*>, CharT>; |
3074 | | |
3075 | | struct reader_error_handler { |
3076 | | constexpr void on_error(const char* msg) |
3077 | 19.4k | { |
3078 | 19.4k | SCN_UNLIKELY_ATTR |
3079 | 19.4k | m_msg = msg; |
3080 | 19.4k | } |
3081 | | explicit constexpr operator bool() const |
3082 | 40.6k | { |
3083 | 40.6k | return m_msg == nullptr; |
3084 | 40.6k | } |
3085 | | |
3086 | | const char* m_msg{nullptr}; |
3087 | | }; |
3088 | | |
3089 | | ///////////////////////////////////////////////////////////////// |
3090 | | // General reading support |
3091 | | ///////////////////////////////////////////////////////////////// |
3092 | | |
3093 | | template <typename SourceRange> |
3094 | | auto skip_classic_whitespace(const SourceRange& range, |
3095 | | bool allow_exhaustion = false) |
3096 | | -> eof_expected<ranges::const_iterator_t<SourceRange>> |
3097 | 19.8k | { |
3098 | 19.8k | if (!allow_exhaustion) { |
3099 | 18.1k | auto it = read_while_classic_space(range); |
3100 | 18.1k | if (auto e = eof_check(ranges::subrange{it, range.end()}); |
3101 | 18.1k | SCN_UNLIKELY(!e)) { |
3102 | 354 | return unexpected(e); |
3103 | 354 | } |
3104 | | |
3105 | 17.8k | return it; |
3106 | 18.1k | } |
3107 | | |
3108 | 1.68k | return read_while_classic_space(range); |
3109 | 19.8k | } Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 3097 | 624 | { | 3098 | 624 | if (!allow_exhaustion) { | 3099 | 0 | auto it = read_while_classic_space(range); | 3100 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3101 | 0 | SCN_UNLIKELY(!e)) { | 3102 | 0 | return unexpected(e); | 3103 | 0 | } | 3104 | | | 3105 | 0 | return it; | 3106 | 0 | } | 3107 | | | 3108 | 624 | return read_while_classic_space(range); | 3109 | 624 | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 3097 | 6.96k | { | 3098 | 6.96k | if (!allow_exhaustion) { | 3099 | 6.79k | auto it = read_while_classic_space(range); | 3100 | 6.79k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3101 | 6.79k | SCN_UNLIKELY(!e)) { | 3102 | 0 | return unexpected(e); | 3103 | 0 | } | 3104 | | | 3105 | 6.79k | return it; | 3106 | 6.79k | } | 3107 | | | 3108 | 166 | return read_while_classic_space(range); | 3109 | 6.96k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSJ_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSE_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS4_9add_constIT_E4typeEEEEEEERKSD_b Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_b Line | Count | Source | 3097 | 506 | { | 3098 | 506 | if (!allow_exhaustion) { | 3099 | 0 | auto it = read_while_classic_space(range); | 3100 | 0 | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3101 | 0 | SCN_UNLIKELY(!e)) { | 3102 | 0 | return unexpected(e); | 3103 | 0 | } | 3104 | | | 3105 | 0 | return it; | 3106 | 0 | } | 3107 | | | 3108 | 506 | return read_while_classic_space(range); | 3109 | 506 | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSD_b Line | Count | Source | 3097 | 7.63k | { | 3098 | 7.63k | if (!allow_exhaustion) { | 3099 | 7.24k | auto it = read_while_classic_space(range); | 3100 | 7.24k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3101 | 7.24k | SCN_UNLIKELY(!e)) { | 3102 | 0 | return unexpected(e); | 3103 | 0 | } | 3104 | | | 3105 | 7.24k | return it; | 3106 | 7.24k | } | 3107 | | | 3108 | 390 | return read_while_classic_space(range); | 3109 | 7.63k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b _ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 3097 | 2.47k | { | 3098 | 2.47k | if (!allow_exhaustion) { | 3099 | 2.47k | auto it = read_while_classic_space(range); | 3100 | 2.47k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3101 | 2.47k | SCN_UNLIKELY(!e)) { | 3102 | 238 | return unexpected(e); | 3103 | 238 | } | 3104 | | | 3105 | 2.23k | return it; | 3106 | 2.47k | } | 3107 | | | 3108 | 0 | return read_while_classic_space(range); | 3109 | 2.47k | } |
_ZN3scn2v44impl23skip_classic_whitespaceINS1_15take_width_viewINS3_INS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEEEENS1_12eof_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSG_b Line | Count | Source | 3097 | 1.65k | { | 3098 | 1.65k | if (!allow_exhaustion) { | 3099 | 1.65k | auto it = read_while_classic_space(range); | 3100 | 1.65k | if (auto e = eof_check(ranges::subrange{it, range.end()}); | 3101 | 1.65k | SCN_UNLIKELY(!e)) { | 3102 | 116 | return unexpected(e); | 3103 | 116 | } | 3104 | | | 3105 | 1.53k | return it; | 3106 | 1.65k | } | 3107 | | | 3108 | 0 | return read_while_classic_space(range); | 3109 | 1.65k | } |
Unexecuted instantiation: _ZN3scn2v44impl23skip_classic_whitespaceINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEERKSB_b |
3110 | | |
3111 | | template <typename SourceCharT, typename DestCharT> |
3112 | | scan_expected<void> transcode_impl(std::basic_string_view<SourceCharT> src, |
3113 | | std::basic_string<DestCharT>& dst) |
3114 | 3.27k | { |
3115 | 3.27k | dst.clear(); |
3116 | 3.27k | transcode_valid_to_string(src, dst); |
3117 | 3.27k | return {}; |
3118 | 3.27k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_impl<char, wchar_t>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3114 | 2.01k | { | 3115 | 2.01k | dst.clear(); | 3116 | 2.01k | transcode_valid_to_string(src, dst); | 3117 | 2.01k | return {}; | 3118 | 2.01k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_impl<wchar_t, char>(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3114 | 1.26k | { | 3115 | 1.26k | dst.clear(); | 3116 | 1.26k | transcode_valid_to_string(src, dst); | 3117 | 1.26k | return {}; | 3118 | 1.26k | } |
|
3119 | | |
3120 | | template <typename SourceCharT, typename DestCharT> |
3121 | | scan_expected<void> transcode_if_necessary( |
3122 | | const contiguous_range_factory<SourceCharT>& source, |
3123 | | std::basic_string<DestCharT>& dest) |
3124 | | { |
3125 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3126 | | dest.assign(source.view()); |
3127 | | } |
3128 | | else { |
3129 | | return transcode_impl(source.view(), dest); |
3130 | | } |
3131 | | |
3132 | | return {}; |
3133 | | } |
3134 | | |
3135 | | template <typename SourceCharT, typename DestCharT> |
3136 | | scan_expected<void> transcode_if_necessary( |
3137 | | contiguous_range_factory<SourceCharT>&& source, |
3138 | | std::basic_string<DestCharT>& dest) |
3139 | 1.58k | { |
3140 | 1.58k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3141 | 792 | if (source.stores_allocated_string()) { |
3142 | 792 | dest.assign(SCN_MOVE(source.get_allocated_string())); |
3143 | 792 | } |
3144 | 0 | else { |
3145 | 0 | dest.assign(source.view()); |
3146 | 0 | } |
3147 | | } |
3148 | 792 | else { |
3149 | 792 | return transcode_impl(source.view(), dest); |
3150 | 792 | } |
3151 | | |
3152 | 0 | return {}; |
3153 | 1.58k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, char>(scn::v4::impl::contiguous_range_factory<char>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3139 | 490 | { | 3140 | 490 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3141 | 490 | if (source.stores_allocated_string()) { | 3142 | 490 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3143 | 490 | } | 3144 | 0 | else { | 3145 | 0 | dest.assign(source.view()); | 3146 | 0 | } | 3147 | | } | 3148 | | else { | 3149 | | return transcode_impl(source.view(), dest); | 3150 | | } | 3151 | | | 3152 | 490 | return {}; | 3153 | 490 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, wchar_t>(scn::v4::impl::contiguous_range_factory<char>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3139 | 490 | { | 3140 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3141 | | if (source.stores_allocated_string()) { | 3142 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3143 | | } | 3144 | | else { | 3145 | | dest.assign(source.view()); | 3146 | | } | 3147 | | } | 3148 | 490 | else { | 3149 | 490 | return transcode_impl(source.view(), dest); | 3150 | 490 | } | 3151 | | | 3152 | 0 | return {}; | 3153 | 490 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, char>(scn::v4::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3139 | 302 | { | 3140 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3141 | | if (source.stores_allocated_string()) { | 3142 | | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3143 | | } | 3144 | | else { | 3145 | | dest.assign(source.view()); | 3146 | | } | 3147 | | } | 3148 | 302 | else { | 3149 | 302 | return transcode_impl(source.view(), dest); | 3150 | 302 | } | 3151 | | | 3152 | 0 | return {}; | 3153 | 302 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v4::impl::contiguous_range_factory<wchar_t>&&, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3139 | 302 | { | 3140 | 302 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3141 | 302 | if (source.stores_allocated_string()) { | 3142 | 302 | dest.assign(SCN_MOVE(source.get_allocated_string())); | 3143 | 302 | } | 3144 | 0 | else { | 3145 | 0 | dest.assign(source.view()); | 3146 | 0 | } | 3147 | | } | 3148 | | else { | 3149 | | return transcode_impl(source.view(), dest); | 3150 | | } | 3151 | | | 3152 | 302 | return {}; | 3153 | 302 | } |
|
3154 | | |
3155 | | template <typename SourceCharT, typename DestCharT> |
3156 | | scan_expected<void> transcode_if_necessary( |
3157 | | string_view_wrapper<SourceCharT> source, |
3158 | | std::basic_string<DestCharT>& dest) |
3159 | 4.96k | { |
3160 | 4.96k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { |
3161 | 2.48k | dest.assign(source.view()); |
3162 | | } |
3163 | 2.48k | else { |
3164 | 2.48k | return transcode_impl(source.view(), dest); |
3165 | 2.48k | } |
3166 | | |
3167 | 0 | return {}; |
3168 | 4.96k | } scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, char>(scn::v4::impl::string_view_wrapper<char>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3159 | 1.52k | { | 3160 | 1.52k | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3161 | 1.52k | dest.assign(source.view()); | 3162 | | } | 3163 | | else { | 3164 | | return transcode_impl(source.view(), dest); | 3165 | | } | 3166 | | | 3167 | 1.52k | return {}; | 3168 | 1.52k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<char, wchar_t>(scn::v4::impl::string_view_wrapper<char>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3159 | 1.52k | { | 3160 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3161 | | dest.assign(source.view()); | 3162 | | } | 3163 | 1.52k | else { | 3164 | 1.52k | return transcode_impl(source.view(), dest); | 3165 | 1.52k | } | 3166 | | | 3167 | 0 | return {}; | 3168 | 1.52k | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, char>(scn::v4::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 3159 | 958 | { | 3160 | | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3161 | | dest.assign(source.view()); | 3162 | | } | 3163 | 958 | else { | 3164 | 958 | return transcode_impl(source.view(), dest); | 3165 | 958 | } | 3166 | | | 3167 | 0 | return {}; | 3168 | 958 | } |
scn::v4::scan_expected<void> scn::v4::impl::transcode_if_necessary<wchar_t, wchar_t>(scn::v4::impl::string_view_wrapper<wchar_t>, std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 3159 | 958 | { | 3160 | 958 | if constexpr (std::is_same_v<SourceCharT, DestCharT>) { | 3161 | 958 | dest.assign(source.view()); | 3162 | | } | 3163 | | else { | 3164 | | return transcode_impl(source.view(), dest); | 3165 | | } | 3166 | | | 3167 | 958 | return {}; | 3168 | 958 | } |
|
3169 | | |
3170 | | ///////////////////////////////////////////////////////////////// |
3171 | | // Reader base classes etc. |
3172 | | ///////////////////////////////////////////////////////////////// |
3173 | | |
3174 | | template <typename Derived, typename CharT> |
3175 | | class reader_base { |
3176 | | public: |
3177 | | using char_type = CharT; |
3178 | | |
3179 | | constexpr reader_base() = default; |
3180 | | |
3181 | | bool skip_ws_before_read() const |
3182 | 11.3k | { |
3183 | 11.3k | return true; |
3184 | 11.3k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::skip_ws_before_read() const Line | Count | Source | 3182 | 2.70k | { | 3183 | 2.70k | return true; | 3184 | 2.70k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::skip_ws_before_read() const Line | Count | Source | 3182 | 1.36k | { | 3183 | 1.36k | return true; | 3184 | 1.36k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::skip_ws_before_read() const scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3182 | 2.74k | { | 3183 | 2.74k | return true; | 3184 | 2.74k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3182 | 1.42k | { | 3183 | 1.42k | return true; | 3184 | 1.42k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::skip_ws_before_read() const scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::skip_ws_before_read() const Line | Count | Source | 3182 | 1.62k | { | 3183 | 1.62k | return true; | 3184 | 1.62k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::skip_ws_before_read() const Line | Count | Source | 3182 | 1.47k | { | 3183 | 1.47k | return true; | 3184 | 1.47k | } |
|
3185 | | |
3186 | | scan_expected<void> check_specs(const detail::format_specs& specs) |
3187 | 31.6k | { |
3188 | 31.6k | reader_error_handler eh{}; |
3189 | 31.6k | get_derived().check_specs_impl(specs, eh); |
3190 | 31.6k | if (SCN_UNLIKELY(!eh)) { |
3191 | 13.1k | return detail::unexpected_scan_error( |
3192 | 13.1k | scan_error::invalid_format_string, eh.m_msg); |
3193 | 13.1k | } |
3194 | 18.5k | return {}; |
3195 | 31.6k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 6.20k | { | 3188 | 6.20k | reader_error_handler eh{}; | 3189 | 6.20k | get_derived().check_specs_impl(specs, eh); | 3190 | 6.20k | if (SCN_UNLIKELY(!eh)) { | 3191 | 4.77k | return detail::unexpected_scan_error( | 3192 | 4.77k | scan_error::invalid_format_string, eh.m_msg); | 3193 | 4.77k | } | 3194 | 1.43k | return {}; | 3195 | 6.20k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 3.10k | { | 3188 | 3.10k | reader_error_handler eh{}; | 3189 | 3.10k | get_derived().check_specs_impl(specs, eh); | 3190 | 3.10k | if (SCN_UNLIKELY(!eh)) { | 3191 | 2.37k | return detail::unexpected_scan_error( | 3192 | 2.37k | scan_error::invalid_format_string, eh.m_msg); | 3193 | 2.37k | } | 3194 | 728 | return {}; | 3195 | 3.10k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 9.17k | { | 3188 | 9.17k | reader_error_handler eh{}; | 3189 | 9.17k | get_derived().check_specs_impl(specs, eh); | 3190 | 9.17k | if (SCN_UNLIKELY(!eh)) { | 3191 | 432 | return detail::unexpected_scan_error( | 3192 | 432 | scan_error::invalid_format_string, eh.m_msg); | 3193 | 432 | } | 3194 | 8.74k | return {}; | 3195 | 9.17k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::check_specs(scn::v4::detail::format_specs const&) scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 2.94k | { | 3188 | 2.94k | reader_error_handler eh{}; | 3189 | 2.94k | get_derived().check_specs_impl(specs, eh); | 3190 | 2.94k | if (SCN_UNLIKELY(!eh)) { | 3191 | 1.43k | return detail::unexpected_scan_error( | 3192 | 1.43k | scan_error::invalid_format_string, eh.m_msg); | 3193 | 1.43k | } | 3194 | 1.50k | return {}; | 3195 | 2.94k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 1.47k | { | 3188 | 1.47k | reader_error_handler eh{}; | 3189 | 1.47k | get_derived().check_specs_impl(specs, eh); | 3190 | 1.47k | if (SCN_UNLIKELY(!eh)) { | 3191 | 700 | return detail::unexpected_scan_error( | 3192 | 700 | scan_error::invalid_format_string, eh.m_msg); | 3193 | 700 | } | 3194 | 770 | return {}; | 3195 | 1.47k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 4.21k | { | 3188 | 4.21k | reader_error_handler eh{}; | 3189 | 4.21k | get_derived().check_specs_impl(specs, eh); | 3190 | 4.21k | if (SCN_UNLIKELY(!eh)) { | 3191 | 720 | return detail::unexpected_scan_error( | 3192 | 720 | scan_error::invalid_format_string, eh.m_msg); | 3193 | 720 | } | 3194 | 3.49k | return {}; | 3195 | 4.21k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 3.10k | { | 3188 | 3.10k | reader_error_handler eh{}; | 3189 | 3.10k | get_derived().check_specs_impl(specs, eh); | 3190 | 3.10k | if (SCN_UNLIKELY(!eh)) { | 3191 | 2.10k | return detail::unexpected_scan_error( | 3192 | 2.10k | scan_error::invalid_format_string, eh.m_msg); | 3193 | 2.10k | } | 3194 | 996 | return {}; | 3195 | 3.10k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 3187 | 1.47k | { | 3188 | 1.47k | reader_error_handler eh{}; | 3189 | 1.47k | get_derived().check_specs_impl(specs, eh); | 3190 | 1.47k | if (SCN_UNLIKELY(!eh)) { | 3191 | 612 | return detail::unexpected_scan_error( | 3192 | 612 | scan_error::invalid_format_string, eh.m_msg); | 3193 | 612 | } | 3194 | 858 | return {}; | 3195 | 1.47k | } |
|
3196 | | |
3197 | | private: |
3198 | | Derived& get_derived() |
3199 | 31.6k | { |
3200 | 31.6k | return static_cast<Derived&>(*this); |
3201 | 31.6k | } scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<char>, char>::get_derived() Line | Count | Source | 3199 | 6.20k | { | 3200 | 6.20k | return static_cast<Derived&>(*this); | 3201 | 6.20k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<char>, char>::get_derived() Line | Count | Source | 3199 | 3.10k | { | 3200 | 3.10k | return static_cast<Derived&>(*this); | 3201 | 3.10k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<char>, char>::get_derived() Line | Count | Source | 3199 | 9.17k | { | 3200 | 9.17k | return static_cast<Derived&>(*this); | 3201 | 9.17k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<char>, char>::get_derived() scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_int<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3199 | 2.94k | { | 3200 | 2.94k | return static_cast<Derived&>(*this); | 3201 | 2.94k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_float<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3199 | 1.47k | { | 3200 | 1.47k | return static_cast<Derived&>(*this); | 3201 | 1.47k | } |
scn::v4::impl::reader_base<scn::v4::impl::string_reader<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3199 | 4.21k | { | 3200 | 4.21k | return static_cast<Derived&>(*this); | 3201 | 4.21k | } |
Unexecuted instantiation: scn::v4::impl::reader_base<scn::v4::impl::regex_matches_reader<wchar_t>, wchar_t>::get_derived() scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<char>, char>::get_derived() Line | Count | Source | 3199 | 3.10k | { | 3200 | 3.10k | return static_cast<Derived&>(*this); | 3201 | 3.10k | } |
scn::v4::impl::reader_base<scn::v4::impl::reader_impl_for_bool<wchar_t>, wchar_t>::get_derived() Line | Count | Source | 3199 | 1.47k | { | 3200 | 1.47k | return static_cast<Derived&>(*this); | 3201 | 1.47k | } |
|
3202 | | const Derived& get_derived() const |
3203 | | { |
3204 | | return static_cast<const Derived&>(*this); |
3205 | | } |
3206 | | }; |
3207 | | |
3208 | | template <typename CharT> |
3209 | | class reader_impl_for_monostate { |
3210 | | public: |
3211 | | constexpr reader_impl_for_monostate() = default; |
3212 | | |
3213 | | bool skip_ws_before_read() const |
3214 | 0 | { |
3215 | 0 | return true; |
3216 | 0 | } Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<char>::skip_ws_before_read() const Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<wchar_t>::skip_ws_before_read() const |
3217 | | |
3218 | | static scan_expected<void> check_specs(const detail::format_specs&) |
3219 | 0 | { |
3220 | 0 | SCN_EXPECT(false); |
3221 | 0 | SCN_UNREACHABLE; |
3222 | 0 | } Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<char>::check_specs(scn::v4::detail::format_specs const&) Unexecuted instantiation: scn::v4::impl::reader_impl_for_monostate<wchar_t>::check_specs(scn::v4::detail::format_specs const&) |
3223 | | |
3224 | | template <typename Range> |
3225 | | auto read_default(Range, monostate&, detail::locale_ref) |
3226 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3227 | 0 | { |
3228 | 0 | SCN_EXPECT(false); |
3229 | 0 | SCN_UNREACHABLE; |
3230 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS0_9monostateENS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS0_9monostateENS9_10locale_refE |
3231 | | |
3232 | | template <typename Range> |
3233 | | auto read_specs(Range, |
3234 | | const detail::format_specs&, |
3235 | | monostate&, |
3236 | | detail::locale_ref) |
3237 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3238 | 0 | { |
3239 | 0 | SCN_EXPECT(false); |
3240 | 0 | SCN_UNREACHABLE; |
3241 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_9monostateENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_9monostateENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_9monostateENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl25reader_impl_for_monostateIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_9monostateENS9_10locale_refE |
3242 | | }; |
3243 | | |
3244 | | ///////////////////////////////////////////////////////////////// |
3245 | | // Numeric reader support |
3246 | | ///////////////////////////////////////////////////////////////// |
3247 | | |
3248 | | enum class sign_type { default_sign = -1, minus_sign = 0, plus_sign = 1 }; |
3249 | | |
3250 | | inline constexpr std::array<uint8_t, 256> char_to_int_table = { |
3251 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3252 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3253 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3254 | | 255, 255, 255, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 255, 255, |
3255 | | 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, |
3256 | | 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, |
3257 | | 35, 255, 255, 255, 255, 255, 255, 10, 11, 12, 13, 14, 15, 16, 17, |
3258 | | 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, |
3259 | | 33, 34, 35, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3260 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3261 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3262 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3263 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3264 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3265 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3266 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3267 | | 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, |
3268 | | 255}; |
3269 | | |
3270 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(char ch) |
3271 | 18.2k | { |
3272 | 18.2k | return char_to_int_table[static_cast<unsigned char>(ch)]; |
3273 | 18.2k | } |
3274 | | SCN_NODISCARD SCN_FORCE_INLINE constexpr uint8_t char_to_int(wchar_t ch) |
3275 | 9.19k | { |
3276 | 9.19k | #if WCHAR_MIN < 0 |
3277 | 9.19k | if (ch >= 0 && ch <= 255) { |
3278 | | #else |
3279 | | if (ch <= 255) { |
3280 | | #endif |
3281 | 9.08k | return char_to_int(static_cast<char>(ch)); |
3282 | 9.08k | } |
3283 | 112 | return 255; |
3284 | 9.19k | } |
3285 | | |
3286 | | template <typename Range> |
3287 | | auto parse_numeric_sign(Range range) |
3288 | | -> eof_expected<std::pair<ranges::const_iterator_t<Range>, sign_type>> |
3289 | 10.3k | { |
3290 | 10.3k | auto r = read_one_of_code_unit(range, "+-"); |
3291 | 10.3k | if (!r) { |
3292 | 10.3k | if (r.error() == parse_error::error) { |
3293 | 10.3k | return std::pair{range.begin(), sign_type::default_sign}; |
3294 | 10.3k | } |
3295 | 0 | return unexpected(eof_error::eof); |
3296 | 10.3k | } |
3297 | | |
3298 | 0 | auto& it = *r; |
3299 | 0 | if (*range.begin() == '-') { |
3300 | 0 | return std::pair{it, sign_type::minus_sign}; |
3301 | 0 | } |
3302 | 0 | return std::pair{it, sign_type::plus_sign}; |
3303 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3289 | 1.53k | { | 3290 | 1.53k | auto r = read_one_of_code_unit(range, "+-"); | 3291 | 1.53k | if (!r) { | 3292 | 1.53k | if (r.error() == parse_error::error) { | 3293 | 1.53k | return std::pair{range.begin(), sign_type::default_sign}; | 3294 | 1.53k | } | 3295 | 0 | return unexpected(eof_error::eof); | 3296 | 1.53k | } | 3297 | | | 3298 | 0 | auto& it = *r; | 3299 | 0 | if (*range.begin() == '-') { | 3300 | 0 | return std::pair{it, sign_type::minus_sign}; | 3301 | 0 | } | 3302 | 0 | return std::pair{it, sign_type::plus_sign}; | 3303 | 0 | } |
_ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3289 | 3.71k | { | 3290 | 3.71k | auto r = read_one_of_code_unit(range, "+-"); | 3291 | 3.71k | if (!r) { | 3292 | 3.71k | if (r.error() == parse_error::error) { | 3293 | 3.71k | return std::pair{range.begin(), sign_type::default_sign}; | 3294 | 3.71k | } | 3295 | 0 | return unexpected(eof_error::eof); | 3296 | 3.71k | } | 3297 | | | 3298 | 0 | auto& it = *r; | 3299 | 0 | if (*range.begin() == '-') { | 3300 | 0 | return std::pair{it, sign_type::minus_sign}; | 3301 | 0 | } | 3302 | 0 | return std::pair{it, sign_type::plus_sign}; | 3303 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSG_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESJ_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESH_ _ZN3scn2v44impl18parse_numeric_signINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESG_ Line | Count | Source | 3289 | 1.00k | { | 3290 | 1.00k | auto r = read_one_of_code_unit(range, "+-"); | 3291 | 1.00k | if (!r) { | 3292 | 1.00k | if (r.error() == parse_error::error) { | 3293 | 1.00k | return std::pair{range.begin(), sign_type::default_sign}; | 3294 | 1.00k | } | 3295 | 0 | return unexpected(eof_error::eof); | 3296 | 1.00k | } | 3297 | | | 3298 | 0 | auto& it = *r; | 3299 | 0 | if (*range.begin() == '-') { | 3300 | 0 | return std::pair{it, sign_type::minus_sign}; | 3301 | 0 | } | 3302 | 0 | return std::pair{it, sign_type::plus_sign}; | 3303 | 0 | } |
_ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESE_ Line | Count | Source | 3289 | 4.12k | { | 3290 | 4.12k | auto r = read_one_of_code_unit(range, "+-"); | 3291 | 4.12k | if (!r) { | 3292 | 4.12k | if (r.error() == parse_error::error) { | 3293 | 4.12k | return std::pair{range.begin(), sign_type::default_sign}; | 3294 | 4.12k | } | 3295 | 0 | return unexpected(eof_error::eof); | 3296 | 4.12k | } | 3297 | | | 3298 | 0 | auto& it = *r; | 3299 | 0 | if (*range.begin() == '-') { | 3300 | 0 | return std::pair{it, sign_type::minus_sign}; | 3301 | 0 | } | 3302 | 0 | return std::pair{it, sign_type::plus_sign}; | 3303 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESP_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_12eof_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESM_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESC_ Unexecuted instantiation: _ZN3scn2v44impl18parse_numeric_signINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEENS1_9sign_typeEEEEESC_ |
3304 | | |
3305 | | template <typename CharT> |
3306 | | class numeric_reader { |
3307 | | public: |
3308 | | contiguous_range_factory<CharT> m_buffer{}; |
3309 | | }; |
3310 | | |
3311 | | ///////////////////////////////////////////////////////////////// |
3312 | | // Integer reader |
3313 | | ///////////////////////////////////////////////////////////////// |
3314 | | |
3315 | | template <typename Iterator> |
3316 | | struct parse_integer_prefix_result { |
3317 | | SCN_NO_UNIQUE_ADDRESS Iterator iterator; |
3318 | | int parsed_base{0}; |
3319 | | sign_type sign{sign_type::default_sign}; |
3320 | | bool is_zero{false}; |
3321 | | }; |
3322 | | |
3323 | | template <typename Range> |
3324 | | auto parse_integer_bin_base_prefix(Range range) |
3325 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3326 | 200 | { |
3327 | 200 | return read_matching_string_classic_nocase(range, "0b"); |
3328 | 200 | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3326 | 40 | { | 3327 | 40 | return read_matching_string_classic_nocase(range, "0b"); | 3328 | 40 | } |
_ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3326 | 22 | { | 3327 | 22 | return read_matching_string_classic_nocase(range, "0b"); | 3328 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3326 | 46 | { | 3327 | 46 | return read_matching_string_classic_nocase(range, "0b"); | 3328 | 46 | } |
_ZN3scn2v44impl29parse_integer_bin_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3326 | 92 | { | 3327 | 92 | return read_matching_string_classic_nocase(range, "0b"); | 3328 | 92 | } |
|
3329 | | |
3330 | | template <typename Range> |
3331 | | auto parse_integer_hex_base_prefix(Range range) |
3332 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3333 | 2.58k | { |
3334 | 2.58k | return read_matching_string_classic_nocase(range, "0x"); |
3335 | 2.58k | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3333 | 388 | { | 3334 | 388 | return read_matching_string_classic_nocase(range, "0x"); | 3335 | 388 | } |
_ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3333 | 928 | { | 3334 | 928 | return read_matching_string_classic_nocase(range, "0x"); | 3335 | 928 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_ Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_ _ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_ Line | Count | Source | 3333 | 262 | { | 3334 | 262 | return read_matching_string_classic_nocase(range, "0x"); | 3335 | 262 | } |
_ZN3scn2v44impl29parse_integer_hex_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_ Line | Count | Source | 3333 | 1.00k | { | 3334 | 1.00k | return read_matching_string_classic_nocase(range, "0x"); | 3335 | 1.00k | } |
|
3336 | | |
3337 | | template <typename Range> |
3338 | | auto parse_integer_oct_base_prefix(Range range, bool& zero_parsed) |
3339 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3340 | 214 | { |
3341 | 214 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { |
3342 | 0 | return *r; |
3343 | 0 | } |
3344 | | |
3345 | 214 | if (auto r = read_matching_code_unit(range, '0')) { |
3346 | 46 | zero_parsed = true; |
3347 | 46 | return *r; |
3348 | 46 | } |
3349 | | |
3350 | 168 | return unexpected(parse_error::error); |
3351 | 214 | } Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3340 | 40 | { | 3341 | 40 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3342 | 0 | return *r; | 3343 | 0 | } | 3344 | | | 3345 | 40 | if (auto r = read_matching_code_unit(range, '0')) { | 3346 | 0 | zero_parsed = true; | 3347 | 0 | return *r; | 3348 | 0 | } | 3349 | | | 3350 | 40 | return unexpected(parse_error::error); | 3351 | 40 | } |
_ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3340 | 46 | { | 3341 | 46 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3342 | 0 | return *r; | 3343 | 0 | } | 3344 | | | 3345 | 46 | if (auto r = read_matching_code_unit(range, '0')) { | 3346 | 0 | zero_parsed = true; | 3347 | 0 | return *r; | 3348 | 0 | } | 3349 | | | 3350 | 46 | return unexpected(parse_error::error); | 3351 | 46 | } |
Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_Rb Unexecuted instantiation: _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb _ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_Rb Line | Count | Source | 3340 | 68 | { | 3341 | 68 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3342 | 0 | return *r; | 3343 | 0 | } | 3344 | | | 3345 | 68 | if (auto r = read_matching_code_unit(range, '0')) { | 3346 | 18 | zero_parsed = true; | 3347 | 18 | return *r; | 3348 | 18 | } | 3349 | | | 3350 | 50 | return unexpected(parse_error::error); | 3351 | 68 | } |
_ZN3scn2v44impl29parse_integer_oct_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_14parse_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_Rb Line | Count | Source | 3340 | 60 | { | 3341 | 60 | if (auto r = read_matching_string_classic_nocase(range, "0o")) { | 3342 | 0 | return *r; | 3343 | 0 | } | 3344 | | | 3345 | 60 | if (auto r = read_matching_code_unit(range, '0')) { | 3346 | 28 | zero_parsed = true; | 3347 | 28 | return *r; | 3348 | 28 | } | 3349 | | | 3350 | 32 | return unexpected(parse_error::error); | 3351 | 60 | } |
|
3352 | | |
3353 | | template <typename Range> |
3354 | | auto parse_integer_base_prefix_for_detection(Range range) |
3355 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3356 | 112 | { |
3357 | 112 | if (auto r = parse_integer_hex_base_prefix(range)) { |
3358 | 0 | return {*r, 16, false}; |
3359 | 0 | } |
3360 | 112 | if (auto r = parse_integer_bin_base_prefix(range)) { |
3361 | 0 | return {*r, 2, false}; |
3362 | 0 | } |
3363 | 112 | { |
3364 | 112 | bool zero_parsed{false}; |
3365 | 112 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { |
3366 | 22 | return {*r, 8, zero_parsed}; |
3367 | 22 | } |
3368 | 112 | } |
3369 | 90 | return {range.begin(), 10, false}; |
3370 | 112 | } Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3356 | 26 | { | 3357 | 26 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3358 | 0 | return {*r, 16, false}; | 3359 | 0 | } | 3360 | 26 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3361 | 0 | return {*r, 2, false}; | 3362 | 0 | } | 3363 | 26 | { | 3364 | 26 | bool zero_parsed{false}; | 3365 | 26 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3366 | 0 | return {*r, 8, zero_parsed}; | 3367 | 0 | } | 3368 | 26 | } | 3369 | 26 | return {range.begin(), 10, false}; | 3370 | 26 | } |
_ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3356 | 16 | { | 3357 | 16 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3358 | 0 | return {*r, 16, false}; | 3359 | 0 | } | 3360 | 16 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3361 | 0 | return {*r, 2, false}; | 3362 | 0 | } | 3363 | 16 | { | 3364 | 16 | bool zero_parsed{false}; | 3365 | 16 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3366 | 0 | return {*r, 8, zero_parsed}; | 3367 | 0 | } | 3368 | 16 | } | 3369 | 16 | return {range.begin(), 10, false}; | 3370 | 16 | } |
Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_ Unexecuted instantiation: _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_ _ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_ Line | Count | Source | 3356 | 38 | { | 3357 | 38 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3358 | 0 | return {*r, 16, false}; | 3359 | 0 | } | 3360 | 38 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3361 | 0 | return {*r, 2, false}; | 3362 | 0 | } | 3363 | 38 | { | 3364 | 38 | bool zero_parsed{false}; | 3365 | 38 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3366 | 12 | return {*r, 8, zero_parsed}; | 3367 | 12 | } | 3368 | 38 | } | 3369 | 26 | return {range.begin(), 10, false}; | 3370 | 38 | } |
_ZN3scn2v44impl39parse_integer_base_prefix_for_detectionINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_ Line | Count | Source | 3356 | 32 | { | 3357 | 32 | if (auto r = parse_integer_hex_base_prefix(range)) { | 3358 | 0 | return {*r, 16, false}; | 3359 | 0 | } | 3360 | 32 | if (auto r = parse_integer_bin_base_prefix(range)) { | 3361 | 0 | return {*r, 2, false}; | 3362 | 0 | } | 3363 | 32 | { | 3364 | 32 | bool zero_parsed{false}; | 3365 | 32 | if (auto r = parse_integer_oct_base_prefix(range, zero_parsed)) { | 3366 | 10 | return {*r, 8, zero_parsed}; | 3367 | 10 | } | 3368 | 32 | } | 3369 | 22 | return {range.begin(), 10, false}; | 3370 | 32 | } |
|
3371 | | |
3372 | | template <typename Range> |
3373 | | auto parse_integer_base_prefix(Range range, int base) |
3374 | | -> std::tuple<ranges::const_iterator_t<Range>, int, bool> |
3375 | 7.75k | { |
3376 | 7.75k | switch (base) { |
3377 | 88 | case 2: |
3378 | | // allow 0b/0B |
3379 | 88 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, |
3380 | 88 | false}; |
3381 | | |
3382 | 102 | case 8: { |
3383 | | // allow 0o/0O/0 |
3384 | 102 | bool zero_parsed = false; |
3385 | 102 | auto it = apply_opt( |
3386 | 102 | parse_integer_oct_base_prefix(range, zero_parsed), range); |
3387 | 102 | return {it, 8, zero_parsed}; |
3388 | 0 | } |
3389 | | |
3390 | 2.47k | case 16: |
3391 | | // allow 0x/0X |
3392 | 2.47k | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, |
3393 | 2.47k | false}; |
3394 | | |
3395 | 112 | case 0: |
3396 | | // detect base |
3397 | 112 | return parse_integer_base_prefix_for_detection(range); |
3398 | | |
3399 | 4.97k | default: |
3400 | | // no base prefix allowed |
3401 | 4.97k | return {range.begin(), base, false}; |
3402 | 7.75k | } |
3403 | 7.75k | } Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3375 | 1.14k | { | 3376 | 1.14k | switch (base) { | 3377 | 14 | case 2: | 3378 | | // allow 0b/0B | 3379 | 14 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3380 | 14 | false}; | 3381 | | | 3382 | 14 | case 8: { | 3383 | | // allow 0o/0O/0 | 3384 | 14 | bool zero_parsed = false; | 3385 | 14 | auto it = apply_opt( | 3386 | 14 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3387 | 14 | return {it, 8, zero_parsed}; | 3388 | 0 | } | 3389 | | | 3390 | 362 | case 16: | 3391 | | // allow 0x/0X | 3392 | 362 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3393 | 362 | false}; | 3394 | | | 3395 | 26 | case 0: | 3396 | | // detect base | 3397 | 26 | return parse_integer_base_prefix_for_detection(range); | 3398 | | | 3399 | 728 | default: | 3400 | | // no base prefix allowed | 3401 | 728 | return {range.begin(), base, false}; | 3402 | 1.14k | } | 3403 | 1.14k | } |
_ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3375 | 2.78k | { | 3376 | 2.78k | switch (base) { | 3377 | 6 | case 2: | 3378 | | // allow 0b/0B | 3379 | 6 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3380 | 6 | false}; | 3381 | | | 3382 | 30 | case 8: { | 3383 | | // allow 0o/0O/0 | 3384 | 30 | bool zero_parsed = false; | 3385 | 30 | auto it = apply_opt( | 3386 | 30 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3387 | 30 | return {it, 8, zero_parsed}; | 3388 | 0 | } | 3389 | | | 3390 | 912 | case 16: | 3391 | | // allow 0x/0X | 3392 | 912 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3393 | 912 | false}; | 3394 | | | 3395 | 16 | case 0: | 3396 | | // detect base | 3397 | 16 | return parse_integer_base_prefix_for_detection(range); | 3398 | | | 3399 | 1.81k | default: | 3400 | | // no base prefix allowed | 3401 | 1.81k | return {range.begin(), base, false}; | 3402 | 2.78k | } | 3403 | 2.78k | } |
Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSL_9add_constIT_E4typeEEEEEibEEESO_i Unexecuted instantiation: _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSD_9add_constIT_E4typeEEEEEibEEESG_i _ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSI_9add_constIT_E4typeEEEEEibEEESL_i Line | Count | Source | 3375 | 758 | { | 3376 | 758 | switch (base) { | 3377 | 8 | case 2: | 3378 | | // allow 0b/0B | 3379 | 8 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3380 | 8 | false}; | 3381 | | | 3382 | 30 | case 8: { | 3383 | | // allow 0o/0O/0 | 3384 | 30 | bool zero_parsed = false; | 3385 | 30 | auto it = apply_opt( | 3386 | 30 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3387 | 30 | return {it, 8, zero_parsed}; | 3388 | 0 | } | 3389 | | | 3390 | 224 | case 16: | 3391 | | // allow 0x/0X | 3392 | 224 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3393 | 224 | false}; | 3394 | | | 3395 | 38 | case 0: | 3396 | | // detect base | 3397 | 38 | return parse_integer_base_prefix_for_detection(range); | 3398 | | | 3399 | 458 | default: | 3400 | | // no base prefix allowed | 3401 | 458 | return {range.begin(), base, false}; | 3402 | 758 | } | 3403 | 758 | } |
_ZN3scn2v44impl25parse_integer_base_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSA_9add_constIT_E4typeEEEEEibEEESD_i Line | Count | Source | 3375 | 3.06k | { | 3376 | 3.06k | switch (base) { | 3377 | 60 | case 2: | 3378 | | // allow 0b/0B | 3379 | 60 | return {apply_opt(parse_integer_bin_base_prefix(range), range), 2, | 3380 | 60 | false}; | 3381 | | | 3382 | 28 | case 8: { | 3383 | | // allow 0o/0O/0 | 3384 | 28 | bool zero_parsed = false; | 3385 | 28 | auto it = apply_opt( | 3386 | 28 | parse_integer_oct_base_prefix(range, zero_parsed), range); | 3387 | 28 | return {it, 8, zero_parsed}; | 3388 | 0 | } | 3389 | | | 3390 | 976 | case 16: | 3391 | | // allow 0x/0X | 3392 | 976 | return {apply_opt(parse_integer_hex_base_prefix(range), range), 16, | 3393 | 976 | false}; | 3394 | | | 3395 | 32 | case 0: | 3396 | | // detect base | 3397 | 32 | return parse_integer_base_prefix_for_detection(range); | 3398 | | | 3399 | 1.97k | default: | 3400 | | // no base prefix allowed | 3401 | 1.97k | return {range.begin(), base, false}; | 3402 | 3.06k | } | 3403 | 3.06k | } |
|
3404 | | |
3405 | | template <typename Range> |
3406 | | auto parse_integer_prefix(Range range, int base) -> eof_expected< |
3407 | | parse_integer_prefix_result<ranges::const_iterator_t<Range>>> |
3408 | 7.75k | { |
3409 | 7.75k | SCN_TRY(sign_result, parse_numeric_sign(range)); |
3410 | 7.75k | auto [base_prefix_begin_it, sign] = sign_result; |
3411 | | |
3412 | 7.75k | auto [digits_begin_it, parsed_base, parsed_zero] = |
3413 | 7.75k | parse_integer_base_prefix( |
3414 | 7.75k | ranges::subrange{base_prefix_begin_it, range.end()}, base); |
3415 | | |
3416 | 7.75k | if (parsed_zero) { |
3417 | 46 | if (digits_begin_it == range.end() || |
3418 | 46 | char_to_int(*digits_begin_it) >= 8) { |
3419 | 46 | digits_begin_it = base_prefix_begin_it; |
3420 | 46 | } |
3421 | 0 | else { |
3422 | 0 | parsed_zero = false; |
3423 | 0 | } |
3424 | 46 | } |
3425 | 7.70k | else { |
3426 | 7.70k | if (digits_begin_it == range.end() || |
3427 | 7.70k | char_to_int(*digits_begin_it) >= parsed_base) { |
3428 | 7.57k | digits_begin_it = base_prefix_begin_it; |
3429 | 7.57k | } |
3430 | 7.70k | } |
3431 | | |
3432 | 7.75k | if (sign == sign_type::default_sign) { |
3433 | 7.75k | sign = sign_type::plus_sign; |
3434 | 7.75k | } |
3435 | 7.75k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ |
3436 | 7.75k | digits_begin_it, parsed_base, sign, parsed_zero}; |
3437 | 7.75k | } Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3408 | 1.14k | { | 3409 | 1.14k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3410 | 1.14k | auto [base_prefix_begin_it, sign] = sign_result; | 3411 | | | 3412 | 1.14k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3413 | 1.14k | parse_integer_base_prefix( | 3414 | 1.14k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3415 | | | 3416 | 1.14k | if (parsed_zero) { | 3417 | 0 | if (digits_begin_it == range.end() || | 3418 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3419 | 0 | digits_begin_it = base_prefix_begin_it; | 3420 | 0 | } | 3421 | 0 | else { | 3422 | 0 | parsed_zero = false; | 3423 | 0 | } | 3424 | 0 | } | 3425 | 1.14k | else { | 3426 | 1.14k | if (digits_begin_it == range.end() || | 3427 | 1.14k | char_to_int(*digits_begin_it) >= parsed_base) { | 3428 | 1.14k | digits_begin_it = base_prefix_begin_it; | 3429 | 1.14k | } | 3430 | 1.14k | } | 3431 | | | 3432 | 1.14k | if (sign == sign_type::default_sign) { | 3433 | 1.14k | sign = sign_type::plus_sign; | 3434 | 1.14k | } | 3435 | 1.14k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3436 | 1.14k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3437 | 1.14k | } |
_ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3408 | 2.78k | { | 3409 | 2.78k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3410 | 2.78k | auto [base_prefix_begin_it, sign] = sign_result; | 3411 | | | 3412 | 2.78k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3413 | 2.78k | parse_integer_base_prefix( | 3414 | 2.78k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3415 | | | 3416 | 2.78k | if (parsed_zero) { | 3417 | 0 | if (digits_begin_it == range.end() || | 3418 | 0 | char_to_int(*digits_begin_it) >= 8) { | 3419 | 0 | digits_begin_it = base_prefix_begin_it; | 3420 | 0 | } | 3421 | 0 | else { | 3422 | 0 | parsed_zero = false; | 3423 | 0 | } | 3424 | 0 | } | 3425 | 2.78k | else { | 3426 | 2.78k | if (digits_begin_it == range.end() || | 3427 | 2.78k | char_to_int(*digits_begin_it) >= parsed_base) { | 3428 | 2.78k | digits_begin_it = base_prefix_begin_it; | 3429 | 2.78k | } | 3430 | 2.78k | } | 3431 | | | 3432 | 2.78k | if (sign == sign_type::default_sign) { | 3433 | 2.78k | sign = sign_type::plus_sign; | 3434 | 2.78k | } | 3435 | 2.78k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3436 | 2.78k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3437 | 2.78k | } |
Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESJ_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESH_i _ZN3scn2v44impl20parse_integer_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESG_i Line | Count | Source | 3408 | 758 | { | 3409 | 758 | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3410 | 758 | auto [base_prefix_begin_it, sign] = sign_result; | 3411 | | | 3412 | 758 | auto [digits_begin_it, parsed_base, parsed_zero] = | 3413 | 758 | parse_integer_base_prefix( | 3414 | 758 | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3415 | | | 3416 | 758 | if (parsed_zero) { | 3417 | 18 | if (digits_begin_it == range.end() || | 3418 | 18 | char_to_int(*digits_begin_it) >= 8) { | 3419 | 18 | digits_begin_it = base_prefix_begin_it; | 3420 | 18 | } | 3421 | 0 | else { | 3422 | 0 | parsed_zero = false; | 3423 | 0 | } | 3424 | 18 | } | 3425 | 740 | else { | 3426 | 740 | if (digits_begin_it == range.end() || | 3427 | 740 | char_to_int(*digits_begin_it) >= parsed_base) { | 3428 | 694 | digits_begin_it = base_prefix_begin_it; | 3429 | 694 | } | 3430 | 740 | } | 3431 | | | 3432 | 758 | if (sign == sign_type::default_sign) { | 3433 | 758 | sign = sign_type::plus_sign; | 3434 | 758 | } | 3435 | 758 | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3436 | 758 | digits_begin_it, parsed_base, sign, parsed_zero}; | 3437 | 758 | } |
_ZN3scn2v44impl20parse_integer_prefixINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEEEESE_i Line | Count | Source | 3408 | 3.06k | { | 3409 | 3.06k | SCN_TRY(sign_result, parse_numeric_sign(range)); | 3410 | 3.06k | auto [base_prefix_begin_it, sign] = sign_result; | 3411 | | | 3412 | 3.06k | auto [digits_begin_it, parsed_base, parsed_zero] = | 3413 | 3.06k | parse_integer_base_prefix( | 3414 | 3.06k | ranges::subrange{base_prefix_begin_it, range.end()}, base); | 3415 | | | 3416 | 3.06k | if (parsed_zero) { | 3417 | 28 | if (digits_begin_it == range.end() || | 3418 | 28 | char_to_int(*digits_begin_it) >= 8) { | 3419 | 28 | digits_begin_it = base_prefix_begin_it; | 3420 | 28 | } | 3421 | 0 | else { | 3422 | 0 | parsed_zero = false; | 3423 | 0 | } | 3424 | 28 | } | 3425 | 3.03k | else { | 3426 | 3.03k | if (digits_begin_it == range.end() || | 3427 | 3.03k | char_to_int(*digits_begin_it) >= parsed_base) { | 3428 | 2.95k | digits_begin_it = base_prefix_begin_it; | 3429 | 2.95k | } | 3430 | 3.03k | } | 3431 | | | 3432 | 3.06k | if (sign == sign_type::default_sign) { | 3433 | 3.06k | sign = sign_type::plus_sign; | 3434 | 3.06k | } | 3435 | 3.06k | return parse_integer_prefix_result<ranges::const_iterator_t<Range>>{ | 3436 | 3.06k | digits_begin_it, parsed_base, sign, parsed_zero}; | 3437 | 3.06k | } |
Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEEEESC_i Unexecuted instantiation: _ZN3scn2v44impl20parse_integer_prefixINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedINS1_27parse_integer_prefix_resultIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS3_9add_constIT_E4typeEEEEEEEEESC_i |
3438 | | |
3439 | | template <typename Range> |
3440 | | auto parse_integer_digits_without_thsep(Range range, int base) |
3441 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3442 | 7.55k | { |
3443 | 7.55k | using char_type = detail::char_t<Range>; |
3444 | | |
3445 | 7.55k | if constexpr (ranges::contiguous_range<Range>) { |
3446 | 5.74k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
3447 | 0 | return detail::unexpected_scan_error( |
3448 | 0 | scan_error::invalid_scanned_value, |
3449 | 0 | "Failed to parse integer: No digits found"); |
3450 | 0 | } |
3451 | 5.74k | return range.end(); |
3452 | | } |
3453 | 1.80k | else { |
3454 | 1.80k | return read_while1_code_unit(range, |
3455 | 1.83k | [&](char_type ch) noexcept { |
3456 | 1.83k | return char_to_int(ch) < base; |
3457 | 1.83k | }) Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlcE_clEc _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlcE_clEc Line | Count | Source | 3455 | 1.12k | [&](char_type ch) noexcept { | 3456 | 1.12k | return char_to_int(ch) < base; | 3457 | 1.12k | }) |
Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_iENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_iENKUlwE_clEw _ZZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_iENKUlwE_clEw Line | Count | Source | 3455 | 712 | [&](char_type ch) noexcept { | 3456 | 712 | return char_to_int(ch) < base; | 3457 | 712 | }) |
|
3458 | 1.80k | .transform_error(map_parse_error_to_scan_error( |
3459 | 1.80k | scan_error::invalid_scanned_value, |
3460 | 1.80k | "Failed to parse integer: No digits found")); |
3461 | 1.80k | } |
3462 | 7.55k | } Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3442 | 1.12k | { | 3443 | 1.12k | using char_type = detail::char_t<Range>; | 3444 | | | 3445 | | if constexpr (ranges::contiguous_range<Range>) { | 3446 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3447 | | return detail::unexpected_scan_error( | 3448 | | scan_error::invalid_scanned_value, | 3449 | | "Failed to parse integer: No digits found"); | 3450 | | } | 3451 | | return range.end(); | 3452 | | } | 3453 | 1.12k | else { | 3454 | 1.12k | return read_while1_code_unit(range, | 3455 | 1.12k | [&](char_type ch) noexcept { | 3456 | 1.12k | return char_to_int(ch) < base; | 3457 | 1.12k | }) | 3458 | 1.12k | .transform_error(map_parse_error_to_scan_error( | 3459 | 1.12k | scan_error::invalid_scanned_value, | 3460 | 1.12k | "Failed to parse integer: No digits found")); | 3461 | 1.12k | } | 3462 | 1.12k | } |
_ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3442 | 2.75k | { | 3443 | 2.75k | using char_type = detail::char_t<Range>; | 3444 | | | 3445 | 2.75k | if constexpr (ranges::contiguous_range<Range>) { | 3446 | 2.75k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3447 | 0 | return detail::unexpected_scan_error( | 3448 | 0 | scan_error::invalid_scanned_value, | 3449 | 0 | "Failed to parse integer: No digits found"); | 3450 | 0 | } | 3451 | 2.75k | return range.end(); | 3452 | | } | 3453 | | else { | 3454 | | return read_while1_code_unit(range, | 3455 | | [&](char_type ch) noexcept { | 3456 | | return char_to_int(ch) < base; | 3457 | | }) | 3458 | | .transform_error(map_parse_error_to_scan_error( | 3459 | | scan_error::invalid_scanned_value, | 3460 | | "Failed to parse integer: No digits found")); | 3461 | | } | 3462 | 2.75k | } |
Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_i Unexecuted instantiation: _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_i _ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_i Line | Count | Source | 3442 | 688 | { | 3443 | 688 | using char_type = detail::char_t<Range>; | 3444 | | | 3445 | | if constexpr (ranges::contiguous_range<Range>) { | 3446 | | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3447 | | return detail::unexpected_scan_error( | 3448 | | scan_error::invalid_scanned_value, | 3449 | | "Failed to parse integer: No digits found"); | 3450 | | } | 3451 | | return range.end(); | 3452 | | } | 3453 | 688 | else { | 3454 | 688 | return read_while1_code_unit(range, | 3455 | 688 | [&](char_type ch) noexcept { | 3456 | 688 | return char_to_int(ch) < base; | 3457 | 688 | }) | 3458 | 688 | .transform_error(map_parse_error_to_scan_error( | 3459 | 688 | scan_error::invalid_scanned_value, | 3460 | 688 | "Failed to parse integer: No digits found")); | 3461 | 688 | } | 3462 | 688 | } |
_ZN3scn2v44impl34parse_integer_digits_without_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_i Line | Count | Source | 3442 | 2.98k | { | 3443 | 2.98k | using char_type = detail::char_t<Range>; | 3444 | | | 3445 | 2.98k | if constexpr (ranges::contiguous_range<Range>) { | 3446 | 2.98k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 3447 | 0 | return detail::unexpected_scan_error( | 3448 | 0 | scan_error::invalid_scanned_value, | 3449 | 0 | "Failed to parse integer: No digits found"); | 3450 | 0 | } | 3451 | 2.98k | return range.end(); | 3452 | | } | 3453 | | else { | 3454 | | return read_while1_code_unit(range, | 3455 | | [&](char_type ch) noexcept { | 3456 | | return char_to_int(ch) < base; | 3457 | | }) | 3458 | | .transform_error(map_parse_error_to_scan_error( | 3459 | | scan_error::invalid_scanned_value, | 3460 | | "Failed to parse integer: No digits found")); | 3461 | | } | 3462 | 2.98k | } |
|
3463 | | |
3464 | | template <typename Range, typename CharT> |
3465 | | auto parse_integer_digits_with_thsep( |
3466 | | Range range, |
3467 | | int base, |
3468 | | const localized_number_formatting_options<CharT>& locale_options) |
3469 | | -> scan_expected<std::tuple<ranges::const_iterator_t<Range>, |
3470 | | std::basic_string<CharT>, |
3471 | | std::string>> |
3472 | 152 | { |
3473 | 152 | std::basic_string<CharT> output; |
3474 | 152 | std::string thsep_indices; |
3475 | 152 | auto it = range.begin(); |
3476 | 152 | bool digit_matched = false; |
3477 | 168 | for (; it != range.end(); ++it) { |
3478 | 164 | if (*it == locale_options.thousands_sep) { |
3479 | 0 | thsep_indices.push_back( |
3480 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); |
3481 | 0 | } |
3482 | 164 | else if (char_to_int(*it) >= base) { |
3483 | 148 | break; |
3484 | 148 | } |
3485 | 16 | else { |
3486 | 16 | output.push_back(*it); |
3487 | 16 | digit_matched = true; |
3488 | 16 | } |
3489 | 164 | } |
3490 | 152 | if (SCN_UNLIKELY(!digit_matched)) { |
3491 | 136 | return detail::unexpected_scan_error( |
3492 | 136 | scan_error::invalid_scanned_value, |
3493 | 136 | "Failed to parse integer: No digits found"); |
3494 | 136 | } |
3495 | 16 | return std::tuple{it, output, thsep_indices}; |
3496 | 152 | } Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3472 | 24 | { | 3473 | 24 | std::basic_string<CharT> output; | 3474 | 24 | std::string thsep_indices; | 3475 | 24 | auto it = range.begin(); | 3476 | 24 | bool digit_matched = false; | 3477 | 24 | for (; it != range.end(); ++it) { | 3478 | 24 | if (*it == locale_options.thousands_sep) { | 3479 | 0 | thsep_indices.push_back( | 3480 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3481 | 0 | } | 3482 | 24 | else if (char_to_int(*it) >= base) { | 3483 | 24 | break; | 3484 | 24 | } | 3485 | 0 | else { | 3486 | 0 | output.push_back(*it); | 3487 | 0 | digit_matched = true; | 3488 | 0 | } | 3489 | 24 | } | 3490 | 24 | if (SCN_UNLIKELY(!digit_matched)) { | 3491 | 24 | return detail::unexpected_scan_error( | 3492 | 24 | scan_error::invalid_scanned_value, | 3493 | 24 | "Failed to parse integer: No digits found"); | 3494 | 24 | } | 3495 | 0 | return std::tuple{it, output, thsep_indices}; | 3496 | 24 | } |
_ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEcEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3472 | 24 | { | 3473 | 24 | std::basic_string<CharT> output; | 3474 | 24 | std::string thsep_indices; | 3475 | 24 | auto it = range.begin(); | 3476 | 24 | bool digit_matched = false; | 3477 | 24 | for (; it != range.end(); ++it) { | 3478 | 24 | if (*it == locale_options.thousands_sep) { | 3479 | 0 | thsep_indices.push_back( | 3480 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3481 | 0 | } | 3482 | 24 | else if (char_to_int(*it) >= base) { | 3483 | 24 | break; | 3484 | 24 | } | 3485 | 0 | else { | 3486 | 0 | output.push_back(*it); | 3487 | 0 | digit_matched = true; | 3488 | 0 | } | 3489 | 24 | } | 3490 | 24 | if (SCN_UNLIKELY(!digit_matched)) { | 3491 | 24 | return detail::unexpected_scan_error( | 3492 | 24 | scan_error::invalid_scanned_value, | 3493 | 24 | "Failed to parse integer: No digits found"); | 3494 | 24 | } | 3495 | 0 | return std::tuple{it, output, thsep_indices}; | 3496 | 24 | } |
Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEENS1_15take_width_viewINS6_ISC_SD_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSM_9add_constIT_E4typeEEEEENSM_12basic_stringIT0_NSM_11char_traitsISV_EENSM_9allocatorISV_EEEENSU_IcNSW_IcEENSY_IcEEEEEEEEESP_iRKNS1_35localized_number_formatting_optionsISV_EE Unexecuted instantiation: _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEENSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEENSM_IcNSO_IcEENSQ_IcEEEEEEEEESH_iRKNS1_35localized_number_formatting_optionsISN_EE _ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSA_EENS1_15take_width_viewINS6_ISA_SA_EEE8sentinelILb1EEEEEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSJ_9add_constIT_E4typeEEEEENSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEENSR_IcNST_IcEENSV_IcEEEEEEEEESM_iRKNS1_35localized_number_formatting_optionsISS_EE Line | Count | Source | 3472 | 52 | { | 3473 | 52 | std::basic_string<CharT> output; | 3474 | 52 | std::string thsep_indices; | 3475 | 52 | auto it = range.begin(); | 3476 | 52 | bool digit_matched = false; | 3477 | 60 | for (; it != range.end(); ++it) { | 3478 | 56 | if (*it == locale_options.thousands_sep) { | 3479 | 0 | thsep_indices.push_back( | 3480 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3481 | 0 | } | 3482 | 56 | else if (char_to_int(*it) >= base) { | 3483 | 48 | break; | 3484 | 48 | } | 3485 | 8 | else { | 3486 | 8 | output.push_back(*it); | 3487 | 8 | digit_matched = true; | 3488 | 8 | } | 3489 | 56 | } | 3490 | 52 | if (SCN_UNLIKELY(!digit_matched)) { | 3491 | 44 | return detail::unexpected_scan_error( | 3492 | 44 | scan_error::invalid_scanned_value, | 3493 | 44 | "Failed to parse integer: No digits found"); | 3494 | 44 | } | 3495 | 8 | return std::tuple{it, output, thsep_indices}; | 3496 | 52 | } |
_ZN3scn2v44impl31parse_integer_digits_with_thsepINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEwEENS0_13scan_expectedINSt3__15tupleIJDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSB_9add_constIT_E4typeEEEEENSB_12basic_stringIT0_NSB_11char_traitsISK_EENSB_9allocatorISK_EEEENSJ_IcNSL_IcEENSN_IcEEEEEEEEESE_iRKNS1_35localized_number_formatting_optionsISK_EE Line | Count | Source | 3472 | 52 | { | 3473 | 52 | std::basic_string<CharT> output; | 3474 | 52 | std::string thsep_indices; | 3475 | 52 | auto it = range.begin(); | 3476 | 52 | bool digit_matched = false; | 3477 | 60 | for (; it != range.end(); ++it) { | 3478 | 60 | if (*it == locale_options.thousands_sep) { | 3479 | 0 | thsep_indices.push_back( | 3480 | 0 | static_cast<char>(ranges::distance(range.begin(), it))); | 3481 | 0 | } | 3482 | 60 | else if (char_to_int(*it) >= base) { | 3483 | 52 | break; | 3484 | 52 | } | 3485 | 8 | else { | 3486 | 8 | output.push_back(*it); | 3487 | 8 | digit_matched = true; | 3488 | 8 | } | 3489 | 60 | } | 3490 | 52 | if (SCN_UNLIKELY(!digit_matched)) { | 3491 | 44 | return detail::unexpected_scan_error( | 3492 | 44 | scan_error::invalid_scanned_value, | 3493 | 44 | "Failed to parse integer: No digits found"); | 3494 | 44 | } | 3495 | 8 | return std::tuple{it, output, thsep_indices}; | 3496 | 52 | } |
|
3497 | | |
3498 | | template <typename CharT, typename T> |
3499 | | auto parse_integer_value(std::basic_string_view<CharT> source, |
3500 | | T& value, |
3501 | | sign_type sign, |
3502 | | int base) |
3503 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; |
3504 | | |
3505 | | template <typename T> |
3506 | | void parse_integer_value_exhaustive_valid(std::string_view source, T& value); |
3507 | | |
3508 | | #define SCN_DECLARE_INTEGER_READER_TEMPLATE(CharT, IntT) \ |
3509 | | extern template auto parse_integer_value( \ |
3510 | | std::basic_string_view<CharT> source, IntT& value, sign_type sign, \ |
3511 | | int base) \ |
3512 | | -> scan_expected<typename std::basic_string_view<CharT>::iterator>; \ |
3513 | | extern template void parse_integer_value_exhaustive_valid( \ |
3514 | | std::string_view, IntT&); |
3515 | | |
3516 | | #if !SCN_DISABLE_TYPE_SCHAR |
3517 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, signed char) |
3518 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, signed char) |
3519 | | #endif |
3520 | | #if !SCN_DISABLE_TYPE_SHORT |
3521 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, short) |
3522 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, short) |
3523 | | #endif |
3524 | | #if !SCN_DISABLE_TYPE_INT |
3525 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, int) |
3526 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, int) |
3527 | | #endif |
3528 | | #if !SCN_DISABLE_TYPE_LONG |
3529 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long) |
3530 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long) |
3531 | | #endif |
3532 | | #if !SCN_DISABLE_TYPE_LONG_LONG |
3533 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, long long) |
3534 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, long long) |
3535 | | #endif |
3536 | | #if !SCN_DISABLE_TYPE_UCHAR |
3537 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned char) |
3538 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned char) |
3539 | | #endif |
3540 | | #if !SCN_DISABLE_TYPE_USHORT |
3541 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned short) |
3542 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned short) |
3543 | | #endif |
3544 | | #if !SCN_DISABLE_TYPE_UINT |
3545 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned int) |
3546 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned int) |
3547 | | #endif |
3548 | | #if !SCN_DISABLE_TYPE_ULONG |
3549 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long) |
3550 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long) |
3551 | | #endif |
3552 | | #if !SCN_DISABLE_TYPE_ULONG_LONG |
3553 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(char, unsigned long long) |
3554 | | SCN_DECLARE_INTEGER_READER_TEMPLATE(wchar_t, unsigned long long) |
3555 | | #endif |
3556 | | |
3557 | | #undef SCN_DECLARE_INTEGER_READER_TEMPLATE |
3558 | | |
3559 | | template <typename CharT> |
3560 | | class reader_impl_for_int |
3561 | | : public reader_base<reader_impl_for_int<CharT>, CharT> { |
3562 | | public: |
3563 | | constexpr reader_impl_for_int() = default; |
3564 | | |
3565 | | void check_specs_impl(const detail::format_specs& specs, |
3566 | | reader_error_handler& eh) |
3567 | 9.14k | { |
3568 | 9.14k | detail::check_int_type_specs(specs, eh); |
3569 | 9.14k | } scn::v4::impl::reader_impl_for_int<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 3567 | 6.20k | { | 3568 | 6.20k | detail::check_int_type_specs(specs, eh); | 3569 | 6.20k | } |
scn::v4::impl::reader_impl_for_int<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 3567 | 2.94k | { | 3568 | 2.94k | detail::check_int_type_specs(specs, eh); | 3569 | 2.94k | } |
|
3570 | | |
3571 | | template <typename Range, typename T> |
3572 | | auto read_default_with_base(Range range, T& value, int base) |
3573 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3574 | 2.37k | { |
3575 | 2.37k | SCN_TRY(prefix_result, parse_integer_prefix(range, base) |
3576 | 2.37k | .transform_error(make_eof_scan_error)); |
3577 | | |
3578 | 2.37k | if constexpr (!std::is_signed_v<T>) { |
3579 | 1.18k | if (prefix_result.sign == sign_type::minus_sign) { |
3580 | 0 | return detail::unexpected_scan_error( |
3581 | 0 | scan_error::invalid_scanned_value, |
3582 | 0 | "Unexpected '-' sign when parsing an " |
3583 | 0 | "unsigned value"); |
3584 | 0 | } |
3585 | 1.18k | } |
3586 | | |
3587 | 2.37k | if (prefix_result.is_zero) { |
3588 | 0 | value = T{0}; |
3589 | 0 | return std::next(prefix_result.iterator); |
3590 | 0 | } |
3591 | | |
3592 | 4.75k | SCN_TRY(after_digits_it, |
3593 | 4.75k | parse_integer_digits_without_thsep( |
3594 | 4.75k | ranges::subrange{prefix_result.iterator, range.end()}, |
3595 | 4.75k | prefix_result.parsed_base)); |
3596 | | |
3597 | 4.75k | auto buf = make_contiguous_buffer( |
3598 | 4.75k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3599 | 4.75k | SCN_TRY(result_it, |
3600 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3601 | 0 | prefix_result.parsed_base)); |
3602 | |
|
3603 | 0 | return ranges::next(prefix_result.iterator, |
3604 | 0 | ranges::distance(buf.view().begin(), result_it)); |
3605 | 4.75k | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS5_9add_constIT_E4typeEEEEEEESD_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINSt3__117basic_string_viewIwNS5_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS5_9add_constIT_E4typeEEEEEEESD_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3574 | 556 | { | 3575 | 556 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3576 | 556 | .transform_error(make_eof_scan_error)); | 3577 | | | 3578 | | if constexpr (!std::is_signed_v<T>) { | 3579 | | if (prefix_result.sign == sign_type::minus_sign) { | 3580 | | return detail::unexpected_scan_error( | 3581 | | scan_error::invalid_scanned_value, | 3582 | | "Unexpected '-' sign when parsing an " | 3583 | | "unsigned value"); | 3584 | | } | 3585 | | } | 3586 | | | 3587 | 556 | if (prefix_result.is_zero) { | 3588 | 0 | value = T{0}; | 3589 | 0 | return std::next(prefix_result.iterator); | 3590 | 0 | } | 3591 | | | 3592 | 1.11k | SCN_TRY(after_digits_it, | 3593 | 1.11k | parse_integer_digits_without_thsep( | 3594 | 1.11k | ranges::subrange{prefix_result.iterator, range.end()}, | 3595 | 1.11k | prefix_result.parsed_base)); | 3596 | | | 3597 | 1.11k | auto buf = make_contiguous_buffer( | 3598 | 1.11k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3599 | 1.11k | SCN_TRY(result_it, | 3600 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3601 | 0 | prefix_result.parsed_base)); | 3602 | |
| 3603 | 0 | return ranges::next(prefix_result.iterator, | 3604 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3605 | 1.11k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3574 | 556 | { | 3575 | 556 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3576 | 556 | .transform_error(make_eof_scan_error)); | 3577 | | | 3578 | 556 | if constexpr (!std::is_signed_v<T>) { | 3579 | 556 | if (prefix_result.sign == sign_type::minus_sign) { | 3580 | 0 | return detail::unexpected_scan_error( | 3581 | 0 | scan_error::invalid_scanned_value, | 3582 | 0 | "Unexpected '-' sign when parsing an " | 3583 | 0 | "unsigned value"); | 3584 | 0 | } | 3585 | 556 | } | 3586 | | | 3587 | 556 | if (prefix_result.is_zero) { | 3588 | 0 | value = T{0}; | 3589 | 0 | return std::next(prefix_result.iterator); | 3590 | 0 | } | 3591 | | | 3592 | 1.11k | SCN_TRY(after_digits_it, | 3593 | 1.11k | parse_integer_digits_without_thsep( | 3594 | 1.11k | ranges::subrange{prefix_result.iterator, range.end()}, | 3595 | 1.11k | prefix_result.parsed_base)); | 3596 | | | 3597 | 1.11k | auto buf = make_contiguous_buffer( | 3598 | 1.11k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3599 | 1.11k | SCN_TRY(result_it, | 3600 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3601 | 0 | prefix_result.parsed_base)); | 3602 | |
| 3603 | 0 | return ranges::next(prefix_result.iterator, | 3604 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3605 | 1.11k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3574 | 632 | { | 3575 | 632 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3576 | 632 | .transform_error(make_eof_scan_error)); | 3577 | | | 3578 | | if constexpr (!std::is_signed_v<T>) { | 3579 | | if (prefix_result.sign == sign_type::minus_sign) { | 3580 | | return detail::unexpected_scan_error( | 3581 | | scan_error::invalid_scanned_value, | 3582 | | "Unexpected '-' sign when parsing an " | 3583 | | "unsigned value"); | 3584 | | } | 3585 | | } | 3586 | | | 3587 | 632 | if (prefix_result.is_zero) { | 3588 | 0 | value = T{0}; | 3589 | 0 | return std::next(prefix_result.iterator); | 3590 | 0 | } | 3591 | | | 3592 | 1.26k | SCN_TRY(after_digits_it, | 3593 | 1.26k | parse_integer_digits_without_thsep( | 3594 | 1.26k | ranges::subrange{prefix_result.iterator, range.end()}, | 3595 | 1.26k | prefix_result.parsed_base)); | 3596 | | | 3597 | 1.26k | auto buf = make_contiguous_buffer( | 3598 | 1.26k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3599 | 1.26k | SCN_TRY(result_it, | 3600 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3601 | 0 | prefix_result.parsed_base)); | 3602 | |
| 3603 | 0 | return ranges::next(prefix_result.iterator, | 3604 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3605 | 1.26k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Line | Count | Source | 3574 | 632 | { | 3575 | 632 | SCN_TRY(prefix_result, parse_integer_prefix(range, base) | 3576 | 632 | .transform_error(make_eof_scan_error)); | 3577 | | | 3578 | 632 | if constexpr (!std::is_signed_v<T>) { | 3579 | 632 | if (prefix_result.sign == sign_type::minus_sign) { | 3580 | 0 | return detail::unexpected_scan_error( | 3581 | 0 | scan_error::invalid_scanned_value, | 3582 | 0 | "Unexpected '-' sign when parsing an " | 3583 | 0 | "unsigned value"); | 3584 | 0 | } | 3585 | 632 | } | 3586 | | | 3587 | 632 | if (prefix_result.is_zero) { | 3588 | 0 | value = T{0}; | 3589 | 0 | return std::next(prefix_result.iterator); | 3590 | 0 | } | 3591 | | | 3592 | 1.26k | SCN_TRY(after_digits_it, | 3593 | 1.26k | parse_integer_digits_without_thsep( | 3594 | 1.26k | ranges::subrange{prefix_result.iterator, range.end()}, | 3595 | 1.26k | prefix_result.parsed_base)); | 3596 | | | 3597 | 1.26k | auto buf = make_contiguous_buffer( | 3598 | 1.26k | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3599 | 1.26k | SCN_TRY(result_it, | 3600 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3601 | 0 | prefix_result.parsed_base)); | 3602 | |
| 3603 | 0 | return ranges::next(prefix_result.iterator, | 3604 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3605 | 1.26k | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE22read_default_with_baseINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_i |
3606 | | |
3607 | | template <typename Range, typename T> |
3608 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
3609 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3610 | 2.37k | { |
3611 | 2.37k | SCN_UNUSED(loc); |
3612 | 2.37k | return read_default_with_base(range, value, 10); |
3613 | 2.37k | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINSt3__117basic_string_viewIcNS5_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS5_9add_constIT_E4typeEEEEEEESD_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINSt3__117basic_string_viewIwNS5_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRNS5_9add_constIT_E4typeEEEEEEESD_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3610 | 632 | { | 3611 | 632 | SCN_UNUSED(loc); | 3612 | 632 | return read_default_with_base(range, value, 10); | 3613 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3610 | 632 | { | 3611 | 632 | SCN_UNUSED(loc); | 3612 | 632 | return read_default_with_base(range, value, 10); | 3613 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3610 | 556 | { | 3611 | 556 | SCN_UNUSED(loc); | 3612 | 556 | return read_default_with_base(range, value, 10); | 3613 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 3610 | 556 | { | 3611 | 556 | SCN_UNUSED(loc); | 3612 | 556 | return read_default_with_base(range, value, 10); | 3613 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
3614 | | |
3615 | | template <typename Range, typename T> |
3616 | | auto read_specs(Range range, |
3617 | | const detail::format_specs& specs, |
3618 | | T& value, |
3619 | | detail::locale_ref loc) |
3620 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3621 | 5.37k | { |
3622 | 5.37k | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) |
3623 | 5.37k | .transform_error(make_eof_scan_error)); |
3624 | | |
3625 | 5.37k | if (prefix_result.sign == sign_type::minus_sign) { |
3626 | 0 | if constexpr (!std::is_signed_v<T>) { |
3627 | 0 | return detail::unexpected_scan_error( |
3628 | 0 | scan_error::invalid_scanned_value, |
3629 | 0 | "Unexpected '-' sign when parsing an " |
3630 | 0 | "unsigned value"); |
3631 | | } |
3632 | 0 | else { |
3633 | 0 | if (specs.type == |
3634 | 0 | detail::presentation_type::int_unsigned_decimal) { |
3635 | 0 | return detail::unexpected_scan_error( |
3636 | 0 | scan_error::invalid_scanned_value, |
3637 | 0 | "'u'-option disallows negative values"); |
3638 | 0 | } |
3639 | 0 | } |
3640 | 0 | } |
3641 | | |
3642 | 5.37k | if (prefix_result.is_zero) { |
3643 | 46 | value = T{0}; |
3644 | 46 | return std::next(prefix_result.iterator); |
3645 | 46 | } |
3646 | | |
3647 | 5.32k | if (SCN_LIKELY(!specs.localized)) { |
3648 | 5.17k | SCN_TRY(after_digits_it, |
3649 | 3.40k | parse_integer_digits_without_thsep( |
3650 | 3.40k | ranges::subrange{prefix_result.iterator, range.end()}, |
3651 | 3.40k | prefix_result.parsed_base)); |
3652 | | |
3653 | 3.40k | auto buf = make_contiguous_buffer( |
3654 | 3.40k | ranges::subrange{prefix_result.iterator, after_digits_it}); |
3655 | 3.40k | SCN_TRY(result_it, |
3656 | 118 | parse_integer_value(buf.view(), value, prefix_result.sign, |
3657 | 118 | prefix_result.parsed_base)); |
3658 | | |
3659 | 118 | return ranges::next( |
3660 | 118 | prefix_result.iterator, |
3661 | 118 | ranges::distance(buf.view().begin(), result_it)); |
3662 | 3.40k | } |
3663 | | |
3664 | 152 | auto locale_options = |
3665 | | #if SCN_DISABLE_LOCALE |
3666 | | localized_number_formatting_options<CharT>{}; |
3667 | | #else |
3668 | 152 | localized_number_formatting_options<CharT>{loc}; |
3669 | 152 | #endif |
3670 | | |
3671 | 152 | SCN_TRY(parse_digits_result, |
3672 | 16 | parse_integer_digits_with_thsep( |
3673 | 16 | ranges::subrange{prefix_result.iterator, range.end()}, |
3674 | 16 | prefix_result.parsed_base, locale_options)); |
3675 | 16 | const auto& [after_digits_it, nothsep_source, thsep_indices] = |
3676 | 16 | parse_digits_result; |
3677 | | |
3678 | 16 | auto nothsep_source_view = |
3679 | 16 | std::basic_string_view<CharT>{nothsep_source}; |
3680 | 16 | SCN_TRY( |
3681 | 16 | nothsep_source_it, |
3682 | 16 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, |
3683 | 16 | prefix_result.parsed_base)); |
3684 | | |
3685 | 16 | return ranges::next( |
3686 | 16 | prefix_result.iterator, |
3687 | 16 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + |
3688 | 16 | ranges::ssize(thsep_indices)); |
3689 | 16 | } Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 36 | { | 3622 | 36 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 36 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 36 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | | if constexpr (!std::is_signed_v<T>) { | 3627 | | return detail::unexpected_scan_error( | 3628 | | scan_error::invalid_scanned_value, | 3629 | | "Unexpected '-' sign when parsing an " | 3630 | | "unsigned value"); | 3631 | | } | 3632 | 0 | else { | 3633 | 0 | if (specs.type == | 3634 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3635 | 0 | return detail::unexpected_scan_error( | 3636 | 0 | scan_error::invalid_scanned_value, | 3637 | 0 | "'u'-option disallows negative values"); | 3638 | 0 | } | 3639 | 0 | } | 3640 | 0 | } | 3641 | | | 3642 | 36 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 36 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 36 | SCN_TRY(after_digits_it, | 3649 | 0 | parse_integer_digits_without_thsep( | 3650 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | auto buf = make_contiguous_buffer( | 3654 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 0 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 0 | } | 3663 | | | 3664 | 0 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 0 | localized_number_formatting_options<CharT>{loc}; | 3669 | 0 | #endif | 3670 | |
| 3671 | 0 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 22 | { | 3622 | 22 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 22 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 22 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | | if constexpr (!std::is_signed_v<T>) { | 3627 | | return detail::unexpected_scan_error( | 3628 | | scan_error::invalid_scanned_value, | 3629 | | "Unexpected '-' sign when parsing an " | 3630 | | "unsigned value"); | 3631 | | } | 3632 | 0 | else { | 3633 | 0 | if (specs.type == | 3634 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3635 | 0 | return detail::unexpected_scan_error( | 3636 | 0 | scan_error::invalid_scanned_value, | 3637 | 0 | "'u'-option disallows negative values"); | 3638 | 0 | } | 3639 | 0 | } | 3640 | 0 | } | 3641 | | | 3642 | 22 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 22 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 22 | SCN_TRY(after_digits_it, | 3649 | 22 | parse_integer_digits_without_thsep( | 3650 | 22 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 22 | prefix_result.parsed_base)); | 3652 | | | 3653 | 22 | auto buf = make_contiguous_buffer( | 3654 | 22 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 22 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 22 | } | 3663 | | | 3664 | 0 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 0 | localized_number_formatting_options<CharT>{loc}; | 3669 | 0 | #endif | 3670 | |
| 3671 | 0 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 382 | { | 3622 | 382 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 382 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 382 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | | if constexpr (!std::is_signed_v<T>) { | 3627 | | return detail::unexpected_scan_error( | 3628 | | scan_error::invalid_scanned_value, | 3629 | | "Unexpected '-' sign when parsing an " | 3630 | | "unsigned value"); | 3631 | | } | 3632 | 0 | else { | 3633 | 0 | if (specs.type == | 3634 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3635 | 0 | return detail::unexpected_scan_error( | 3636 | 0 | scan_error::invalid_scanned_value, | 3637 | 0 | "'u'-option disallows negative values"); | 3638 | 0 | } | 3639 | 0 | } | 3640 | 0 | } | 3641 | | | 3642 | 382 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 382 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 370 | SCN_TRY(after_digits_it, | 3649 | 0 | parse_integer_digits_without_thsep( | 3650 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | auto buf = make_contiguous_buffer( | 3654 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 0 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 0 | } | 3663 | | | 3664 | 12 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 12 | localized_number_formatting_options<CharT>{loc}; | 3669 | 12 | #endif | 3670 | | | 3671 | 12 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 298 | { | 3622 | 298 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 298 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 298 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | | if constexpr (!std::is_signed_v<T>) { | 3627 | | return detail::unexpected_scan_error( | 3628 | | scan_error::invalid_scanned_value, | 3629 | | "Unexpected '-' sign when parsing an " | 3630 | | "unsigned value"); | 3631 | | } | 3632 | 0 | else { | 3633 | 0 | if (specs.type == | 3634 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3635 | 0 | return detail::unexpected_scan_error( | 3636 | 0 | scan_error::invalid_scanned_value, | 3637 | 0 | "'u'-option disallows negative values"); | 3638 | 0 | } | 3639 | 0 | } | 3640 | 0 | } | 3641 | | | 3642 | 298 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 298 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 286 | SCN_TRY(after_digits_it, | 3649 | 286 | parse_integer_digits_without_thsep( | 3650 | 286 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 286 | prefix_result.parsed_base)); | 3652 | | | 3653 | 286 | auto buf = make_contiguous_buffer( | 3654 | 286 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 286 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 286 | } | 3663 | | | 3664 | 12 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 12 | localized_number_formatting_options<CharT>{loc}; | 3669 | 12 | #endif | 3670 | | | 3671 | 12 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 382 | { | 3622 | 382 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 382 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 382 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 382 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 382 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 370 | SCN_TRY(after_digits_it, | 3649 | 0 | parse_integer_digits_without_thsep( | 3650 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | auto buf = make_contiguous_buffer( | 3654 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 0 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 0 | } | 3663 | | | 3664 | 12 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 12 | localized_number_formatting_options<CharT>{loc}; | 3669 | 12 | #endif | 3670 | | | 3671 | 12 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 298 | { | 3622 | 298 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 298 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 298 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 298 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 298 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 286 | SCN_TRY(after_digits_it, | 3649 | 286 | parse_integer_digits_without_thsep( | 3650 | 286 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 286 | prefix_result.parsed_base)); | 3652 | | | 3653 | 286 | auto buf = make_contiguous_buffer( | 3654 | 286 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 286 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 286 | } | 3663 | | | 3664 | 12 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 12 | localized_number_formatting_options<CharT>{loc}; | 3669 | 12 | #endif | 3670 | | | 3671 | 12 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 344 | { | 3622 | 344 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 344 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 344 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 344 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 344 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 344 | SCN_TRY(after_digits_it, | 3649 | 0 | parse_integer_digits_without_thsep( | 3650 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 0 | prefix_result.parsed_base)); | 3652 | |
| 3653 | 0 | auto buf = make_contiguous_buffer( | 3654 | 0 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 0 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 0 | } | 3663 | | | 3664 | 0 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 0 | localized_number_formatting_options<CharT>{loc}; | 3669 | 0 | #endif | 3670 | |
| 3671 | 0 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 900 | { | 3622 | 900 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 900 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 900 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 900 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 900 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 900 | SCN_TRY(after_digits_it, | 3649 | 900 | parse_integer_digits_without_thsep( | 3650 | 900 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 900 | prefix_result.parsed_base)); | 3652 | | | 3653 | 900 | auto buf = make_contiguous_buffer( | 3654 | 900 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 900 | SCN_TRY(result_it, | 3656 | 0 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 0 | prefix_result.parsed_base)); | 3658 | |
| 3659 | 0 | return ranges::next( | 3660 | 0 | prefix_result.iterator, | 3661 | 0 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 900 | } | 3663 | | | 3664 | 0 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 0 | localized_number_formatting_options<CharT>{loc}; | 3669 | 0 | #endif | 3670 | |
| 3671 | 0 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEiEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 300 | { | 3622 | 300 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 300 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 300 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | | if constexpr (!std::is_signed_v<T>) { | 3627 | | return detail::unexpected_scan_error( | 3628 | | scan_error::invalid_scanned_value, | 3629 | | "Unexpected '-' sign when parsing an " | 3630 | | "unsigned value"); | 3631 | | } | 3632 | 0 | else { | 3633 | 0 | if (specs.type == | 3634 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3635 | 0 | return detail::unexpected_scan_error( | 3636 | 0 | scan_error::invalid_scanned_value, | 3637 | 0 | "'u'-option disallows negative values"); | 3638 | 0 | } | 3639 | 0 | } | 3640 | 0 | } | 3641 | | | 3642 | 300 | if (prefix_result.is_zero) { | 3643 | 12 | value = T{0}; | 3644 | 12 | return std::next(prefix_result.iterator); | 3645 | 12 | } | 3646 | | | 3647 | 288 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 262 | SCN_TRY(after_digits_it, | 3649 | 16 | parse_integer_digits_without_thsep( | 3650 | 16 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 16 | prefix_result.parsed_base)); | 3652 | | | 3653 | 16 | auto buf = make_contiguous_buffer( | 3654 | 16 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 16 | SCN_TRY(result_it, | 3656 | 16 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 16 | prefix_result.parsed_base)); | 3658 | | | 3659 | 16 | return ranges::next( | 3660 | 16 | prefix_result.iterator, | 3661 | 16 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 16 | } | 3663 | | | 3664 | 26 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 26 | localized_number_formatting_options<CharT>{loc}; | 3669 | 26 | #endif | 3670 | | | 3671 | 26 | SCN_TRY(parse_digits_result, | 3672 | 4 | parse_integer_digits_with_thsep( | 3673 | 4 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 4 | prefix_result.parsed_base, locale_options)); | 3675 | 4 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 4 | parse_digits_result; | 3677 | | | 3678 | 4 | auto nothsep_source_view = | 3679 | 4 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 4 | SCN_TRY( | 3681 | 4 | nothsep_source_it, | 3682 | 4 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 4 | prefix_result.parsed_base)); | 3684 | | | 3685 | 4 | return ranges::next( | 3686 | 4 | prefix_result.iterator, | 3687 | 4 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 4 | ranges::ssize(thsep_indices)); | 3689 | 4 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEiEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 526 | { | 3622 | 526 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 526 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 526 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | | if constexpr (!std::is_signed_v<T>) { | 3627 | | return detail::unexpected_scan_error( | 3628 | | scan_error::invalid_scanned_value, | 3629 | | "Unexpected '-' sign when parsing an " | 3630 | | "unsigned value"); | 3631 | | } | 3632 | 0 | else { | 3633 | 0 | if (specs.type == | 3634 | 0 | detail::presentation_type::int_unsigned_decimal) { | 3635 | 0 | return detail::unexpected_scan_error( | 3636 | 0 | scan_error::invalid_scanned_value, | 3637 | 0 | "'u'-option disallows negative values"); | 3638 | 0 | } | 3639 | 0 | } | 3640 | 0 | } | 3641 | | | 3642 | 526 | if (prefix_result.is_zero) { | 3643 | 18 | value = T{0}; | 3644 | 18 | return std::next(prefix_result.iterator); | 3645 | 18 | } | 3646 | | | 3647 | 508 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 482 | SCN_TRY(after_digits_it, | 3649 | 482 | parse_integer_digits_without_thsep( | 3650 | 482 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 482 | prefix_result.parsed_base)); | 3652 | | | 3653 | 482 | auto buf = make_contiguous_buffer( | 3654 | 482 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 482 | SCN_TRY(result_it, | 3656 | 30 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 30 | prefix_result.parsed_base)); | 3658 | | | 3659 | 30 | return ranges::next( | 3660 | 30 | prefix_result.iterator, | 3661 | 30 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 482 | } | 3663 | | | 3664 | 26 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 26 | localized_number_formatting_options<CharT>{loc}; | 3669 | 26 | #endif | 3670 | | | 3671 | 26 | SCN_TRY(parse_digits_result, | 3672 | 4 | parse_integer_digits_with_thsep( | 3673 | 4 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 4 | prefix_result.parsed_base, locale_options)); | 3675 | 4 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 4 | parse_digits_result; | 3677 | | | 3678 | 4 | auto nothsep_source_view = | 3679 | 4 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 4 | SCN_TRY( | 3681 | 4 | nothsep_source_it, | 3682 | 4 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 4 | prefix_result.parsed_base)); | 3684 | | | 3685 | 4 | return ranges::next( | 3686 | 4 | prefix_result.iterator, | 3687 | 4 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 4 | ranges::ssize(thsep_indices)); | 3689 | 4 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEaEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEaEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEsEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEsEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEElEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EElEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEExEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EExEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEhEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEhEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEtEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEtEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEjEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 256 | { | 3622 | 256 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 256 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 256 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 256 | if (prefix_result.is_zero) { | 3643 | 6 | value = T{0}; | 3644 | 6 | return std::next(prefix_result.iterator); | 3645 | 6 | } | 3646 | | | 3647 | 250 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 224 | SCN_TRY(after_digits_it, | 3649 | 12 | parse_integer_digits_without_thsep( | 3650 | 12 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 12 | prefix_result.parsed_base)); | 3652 | | | 3653 | 12 | auto buf = make_contiguous_buffer( | 3654 | 12 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 12 | SCN_TRY(result_it, | 3656 | 12 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 12 | prefix_result.parsed_base)); | 3658 | | | 3659 | 12 | return ranges::next( | 3660 | 12 | prefix_result.iterator, | 3661 | 12 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 12 | } | 3663 | | | 3664 | 26 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 26 | localized_number_formatting_options<CharT>{loc}; | 3669 | 26 | #endif | 3670 | | | 3671 | 26 | SCN_TRY(parse_digits_result, | 3672 | 4 | parse_integer_digits_with_thsep( | 3673 | 4 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 4 | prefix_result.parsed_base, locale_options)); | 3675 | 4 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 4 | parse_digits_result; | 3677 | | | 3678 | 4 | auto nothsep_source_view = | 3679 | 4 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 4 | SCN_TRY( | 3681 | 4 | nothsep_source_it, | 3682 | 4 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 4 | prefix_result.parsed_base)); | 3684 | | | 3685 | 4 | return ranges::next( | 3686 | 4 | prefix_result.iterator, | 3687 | 4 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 4 | ranges::ssize(thsep_indices)); | 3689 | 4 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEjEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 474 | { | 3622 | 474 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 474 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 474 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 474 | if (prefix_result.is_zero) { | 3643 | 10 | value = T{0}; | 3644 | 10 | return std::next(prefix_result.iterator); | 3645 | 10 | } | 3646 | | | 3647 | 464 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 438 | SCN_TRY(after_digits_it, | 3649 | 438 | parse_integer_digits_without_thsep( | 3650 | 438 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 438 | prefix_result.parsed_base)); | 3652 | | | 3653 | 438 | auto buf = make_contiguous_buffer( | 3654 | 438 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 438 | SCN_TRY(result_it, | 3656 | 26 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 26 | prefix_result.parsed_base)); | 3658 | | | 3659 | 26 | return ranges::next( | 3660 | 26 | prefix_result.iterator, | 3661 | 26 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 438 | } | 3663 | | | 3664 | 26 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 26 | localized_number_formatting_options<CharT>{loc}; | 3669 | 26 | #endif | 3670 | | | 3671 | 26 | SCN_TRY(parse_digits_result, | 3672 | 4 | parse_integer_digits_with_thsep( | 3673 | 4 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 4 | prefix_result.parsed_base, locale_options)); | 3675 | 4 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 4 | parse_digits_result; | 3677 | | | 3678 | 4 | auto nothsep_source_view = | 3679 | 4 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 4 | SCN_TRY( | 3681 | 4 | nothsep_source_it, | 3682 | 4 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 4 | prefix_result.parsed_base)); | 3684 | | | 3685 | 4 | return ranges::next( | 3686 | 4 | prefix_result.iterator, | 3687 | 4 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 4 | ranges::ssize(thsep_indices)); | 3689 | 4 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEmEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 3621 | 202 | { | 3622 | 202 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 202 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 202 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 202 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 202 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 202 | SCN_TRY(after_digits_it, | 3649 | 10 | parse_integer_digits_without_thsep( | 3650 | 10 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 10 | prefix_result.parsed_base)); | 3652 | | | 3653 | 10 | auto buf = make_contiguous_buffer( | 3654 | 10 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 10 | SCN_TRY(result_it, | 3656 | 10 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 10 | prefix_result.parsed_base)); | 3658 | | | 3659 | 10 | return ranges::next( | 3660 | 10 | prefix_result.iterator, | 3661 | 10 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 10 | } | 3663 | | | 3664 | 0 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 0 | localized_number_formatting_options<CharT>{loc}; | 3669 | 0 | #endif | 3670 | |
| 3671 | 0 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
_ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEmEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 3621 | 954 | { | 3622 | 954 | SCN_TRY(prefix_result, parse_integer_prefix(range, specs.get_base()) | 3623 | 954 | .transform_error(make_eof_scan_error)); | 3624 | | | 3625 | 954 | if (prefix_result.sign == sign_type::minus_sign) { | 3626 | 0 | if constexpr (!std::is_signed_v<T>) { | 3627 | 0 | return detail::unexpected_scan_error( | 3628 | 0 | scan_error::invalid_scanned_value, | 3629 | 0 | "Unexpected '-' sign when parsing an " | 3630 | 0 | "unsigned value"); | 3631 | | } | 3632 | | else { | 3633 | | if (specs.type == | 3634 | | detail::presentation_type::int_unsigned_decimal) { | 3635 | | return detail::unexpected_scan_error( | 3636 | | scan_error::invalid_scanned_value, | 3637 | | "'u'-option disallows negative values"); | 3638 | | } | 3639 | | } | 3640 | 0 | } | 3641 | | | 3642 | 954 | if (prefix_result.is_zero) { | 3643 | 0 | value = T{0}; | 3644 | 0 | return std::next(prefix_result.iterator); | 3645 | 0 | } | 3646 | | | 3647 | 954 | if (SCN_LIKELY(!specs.localized)) { | 3648 | 954 | SCN_TRY(after_digits_it, | 3649 | 954 | parse_integer_digits_without_thsep( | 3650 | 954 | ranges::subrange{prefix_result.iterator, range.end()}, | 3651 | 954 | prefix_result.parsed_base)); | 3652 | | | 3653 | 954 | auto buf = make_contiguous_buffer( | 3654 | 954 | ranges::subrange{prefix_result.iterator, after_digits_it}); | 3655 | 954 | SCN_TRY(result_it, | 3656 | 24 | parse_integer_value(buf.view(), value, prefix_result.sign, | 3657 | 24 | prefix_result.parsed_base)); | 3658 | | | 3659 | 24 | return ranges::next( | 3660 | 24 | prefix_result.iterator, | 3661 | 24 | ranges::distance(buf.view().begin(), result_it)); | 3662 | 954 | } | 3663 | | | 3664 | 0 | auto locale_options = | 3665 | | #if SCN_DISABLE_LOCALE | 3666 | | localized_number_formatting_options<CharT>{}; | 3667 | | #else | 3668 | 0 | localized_number_formatting_options<CharT>{loc}; | 3669 | 0 | #endif | 3670 | |
| 3671 | 0 | SCN_TRY(parse_digits_result, | 3672 | 0 | parse_integer_digits_with_thsep( | 3673 | 0 | ranges::subrange{prefix_result.iterator, range.end()}, | 3674 | 0 | prefix_result.parsed_base, locale_options)); | 3675 | 0 | const auto& [after_digits_it, nothsep_source, thsep_indices] = | 3676 | 0 | parse_digits_result; | 3677 | |
| 3678 | 0 | auto nothsep_source_view = | 3679 | 0 | std::basic_string_view<CharT>{nothsep_source}; | 3680 | 0 | SCN_TRY( | 3681 | 0 | nothsep_source_it, | 3682 | 0 | parse_integer_value(nothsep_source_view, value, prefix_result.sign, | 3683 | 0 | prefix_result.parsed_base)); | 3684 | |
| 3685 | 0 | return ranges::next( | 3686 | 0 | prefix_result.iterator, | 3687 | 0 | ranges::distance(nothsep_source_view.begin(), nothsep_source_it) + | 3688 | 0 | ranges::ssize(thsep_indices)); | 3689 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEyEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEyEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEnEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEoEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEnEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEoEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEnEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEoEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEnEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEoEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl19reader_impl_for_intIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE |
3690 | | }; |
3691 | | |
3692 | | ///////////////////////////////////////////////////////////////// |
3693 | | // Floating-point reader |
3694 | | ///////////////////////////////////////////////////////////////// |
3695 | | |
3696 | | struct float_reader_base { |
3697 | | enum options_type { |
3698 | | allow_hex = 1, |
3699 | | allow_scientific = 2, |
3700 | | allow_fixed = 4, |
3701 | | allow_thsep = 8 |
3702 | | }; |
3703 | | |
3704 | | enum class float_kind { |
3705 | | tbd = 0, |
3706 | | generic, // fixed or scientific |
3707 | | fixed, // xxx.yyy |
3708 | | scientific, // xxx.yyyEzzz |
3709 | | hex_without_prefix, // xxx.yyypzzz |
3710 | | hex_with_prefix, // 0Xxxx.yyypzzz |
3711 | | inf_short, // inf |
3712 | | inf_long, // infinity |
3713 | | nan_simple, // nan |
3714 | | nan_with_payload, // nan(xxx) |
3715 | | }; |
3716 | | |
3717 | 1.18k | constexpr float_reader_base() = default; |
3718 | 1.44k | explicit constexpr float_reader_base(unsigned opt) : m_options(opt) {} |
3719 | | |
3720 | | protected: |
3721 | | unsigned m_options{allow_hex | allow_scientific | allow_fixed}; |
3722 | | }; |
3723 | | |
3724 | | template <typename CharT> |
3725 | | class float_reader : public numeric_reader<CharT>, public float_reader_base { |
3726 | | using numeric_base = numeric_reader<CharT>; |
3727 | | |
3728 | | public: |
3729 | | using char_type = CharT; |
3730 | | |
3731 | 1.18k | constexpr float_reader() = default; scn::v4::impl::float_reader<char>::float_reader() Line | Count | Source | 3731 | 632 | constexpr float_reader() = default; |
scn::v4::impl::float_reader<wchar_t>::float_reader() Line | Count | Source | 3731 | 556 | constexpr float_reader() = default; |
|
3732 | | |
3733 | 1.44k | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {}scn::v4::impl::float_reader<char>::float_reader(unsigned int) Line | Count | Source | 3733 | 690 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
scn::v4::impl::float_reader<wchar_t>::float_reader(unsigned int) Line | Count | Source | 3733 | 750 | explicit constexpr float_reader(unsigned opt) : float_reader_base(opt) {} |
|
3734 | | |
3735 | | template <typename Range> |
3736 | | SCN_NODISCARD auto read_source(Range range, detail::locale_ref) |
3737 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3738 | 2.57k | { |
3739 | 2.57k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { |
3740 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ |
3741 | 0 | classic_with_thsep_tag{}}; |
3742 | 0 | } |
3743 | | |
3744 | 2.57k | return read_source_impl(range); |
3745 | 2.57k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIcE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3738 | 380 | { | 3739 | 380 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3740 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3741 | 0 | classic_with_thsep_tag{}}; | 3742 | 0 | } | 3743 | | | 3744 | 380 | return read_source_impl(range); | 3745 | 380 | } |
_ZN3scn2v44impl12float_readerIcE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3738 | 924 | { | 3739 | 924 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3740 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3741 | 0 | classic_with_thsep_tag{}}; | 3742 | 0 | } | 3743 | | | 3744 | 924 | return read_source_impl(range); | 3745 | 924 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIwE11read_sourceINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3738 | 228 | { | 3739 | 228 | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3740 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3741 | 0 | classic_with_thsep_tag{}}; | 3742 | 0 | } | 3743 | | | 3744 | 228 | return read_source_impl(range); | 3745 | 228 | } |
_ZN3scn2v44impl12float_readerIwE11read_sourceINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3738 | 1.04k | { | 3739 | 1.04k | if (SCN_UNLIKELY(m_options & float_reader_base::allow_thsep)) { | 3740 | 0 | m_locale_options = localized_number_formatting_options<CharT>{ | 3741 | 0 | classic_with_thsep_tag{}}; | 3742 | 0 | } | 3743 | | | 3744 | 1.04k | return read_source_impl(range); | 3745 | 1.04k | } |
|
3746 | | |
3747 | | #if !SCN_DISABLE_LOCALE |
3748 | | template <typename Range> |
3749 | | SCN_NODISCARD auto read_source_localized(Range range, |
3750 | | detail::locale_ref loc) |
3751 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3752 | 54 | { |
3753 | 54 | m_locale_options = localized_number_formatting_options<CharT>{loc}; |
3754 | 54 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { |
3755 | 0 | m_locale_options.thousands_sep = CharT{0}; |
3756 | 0 | } |
3757 | | |
3758 | 54 | return read_source_impl(range); |
3759 | 54 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIcE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3752 | 12 | { | 3753 | 12 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3754 | 12 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3755 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3756 | 0 | } | 3757 | | | 3758 | 12 | return read_source_impl(range); | 3759 | 12 | } |
_ZN3scn2v44impl12float_readerIcE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3752 | 6 | { | 3753 | 6 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3754 | 6 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3755 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3756 | 0 | } | 3757 | | | 3758 | 6 | return read_source_impl(range); | 3759 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refE _ZN3scn2v44impl12float_readerIwE21read_source_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refE Line | Count | Source | 3752 | 16 | { | 3753 | 16 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3754 | 16 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3755 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3756 | 0 | } | 3757 | | | 3758 | 16 | return read_source_impl(range); | 3759 | 16 | } |
_ZN3scn2v44impl12float_readerIwE21read_source_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refE Line | Count | Source | 3752 | 20 | { | 3753 | 20 | m_locale_options = localized_number_formatting_options<CharT>{loc}; | 3754 | 20 | if (SCN_LIKELY((m_options & float_reader_base::allow_thsep) == 0)) { | 3755 | 0 | m_locale_options.thousands_sep = CharT{0}; | 3756 | 0 | } | 3757 | | | 3758 | 20 | return read_source_impl(range); | 3759 | 20 | } |
|
3760 | | #endif |
3761 | | |
3762 | | template <typename T> |
3763 | | SCN_NODISCARD scan_expected<std::ptrdiff_t> parse_value(T& value) |
3764 | 1.97k | { |
3765 | 1.97k | SCN_EXPECT(m_kind != float_kind::tbd); |
3766 | | |
3767 | 1.97k | const std::ptrdiff_t sign_len = |
3768 | 1.97k | m_sign != sign_type::default_sign ? 1 : 0; |
3769 | | |
3770 | 1.97k | SCN_TRY(n, parse_value_impl(value)); |
3771 | 100 | return n + sign_len + ranges::ssize(m_thsep_indices); |
3772 | 1.97k | } Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<float>(float&) scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<double>(double&) Line | Count | Source | 3764 | 908 | { | 3765 | 908 | SCN_EXPECT(m_kind != float_kind::tbd); | 3766 | | | 3767 | 908 | const std::ptrdiff_t sign_len = | 3768 | 908 | m_sign != sign_type::default_sign ? 1 : 0; | 3769 | | | 3770 | 908 | SCN_TRY(n, parse_value_impl(value)); | 3771 | 0 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3772 | 908 | } |
Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<char>::parse_value<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<float>(float&) scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<double>(double&) Line | Count | Source | 3764 | 1.06k | { | 3765 | 1.06k | SCN_EXPECT(m_kind != float_kind::tbd); | 3766 | | | 3767 | 1.06k | const std::ptrdiff_t sign_len = | 3768 | 1.06k | m_sign != sign_type::default_sign ? 1 : 0; | 3769 | | | 3770 | 1.06k | SCN_TRY(n, parse_value_impl(value)); | 3771 | 100 | return n + sign_len + ranges::ssize(m_thsep_indices); | 3772 | 1.06k | } |
Unexecuted instantiation: scn::v4::scan_expected<long> scn::v4::impl::float_reader<wchar_t>::parse_value<long double>(long double&) |
3773 | | |
3774 | | private: |
3775 | | template <typename Range> |
3776 | | auto read_source_impl(Range range) |
3777 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3778 | 2.62k | { |
3779 | 2.62k | SCN_TRY(sign_result, |
3780 | 2.62k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); |
3781 | 2.62k | auto it = sign_result.first; |
3782 | 2.62k | m_sign = sign_result.second; |
3783 | | |
3784 | 2.62k | auto digits_begin = it; |
3785 | 2.62k | auto r = ranges::subrange{it, range.end()}; |
3786 | | if constexpr (ranges::contiguous_range<Range> && |
3787 | 1.99k | ranges::sized_range<Range>) { |
3788 | 1.99k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || |
3789 | 1.99k | m_locale_options.decimal_point != CharT{'.'})) { |
3790 | 0 | SCN_TRY_ASSIGN( |
3791 | 0 | it, |
3792 | 0 | do_read_source_impl( |
3793 | 0 | r, |
3794 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, |
3795 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3796 | 0 | } |
3797 | 1.99k | else { |
3798 | 1.99k | auto cb = [&](const auto& rr) |
3799 | 1.99k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { |
3800 | 1.94k | auto res = read_all(rr); |
3801 | 1.94k | if (SCN_UNLIKELY(res == r.begin())) { |
3802 | 0 | return detail::unexpected_scan_error( |
3803 | 0 | scan_error::invalid_scanned_value, |
3804 | 0 | "Invalid float value"); |
3805 | 0 | } |
3806 | 1.94k | return res; |
3807 | 1.94k | }; _ZZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3799 | 908 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3800 | 908 | auto res = read_all(rr); | 3801 | 908 | if (SCN_UNLIKELY(res == r.begin())) { | 3802 | 0 | return detail::unexpected_scan_error( | 3803 | 0 | scan_error::invalid_scanned_value, | 3804 | 0 | "Invalid float value"); | 3805 | 0 | } | 3806 | 908 | return res; | 3807 | 908 | }; |
_ZZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlRKSF_E1_clISB_EENSC_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSE_IDtfp_EE4typeEEEEEEESM_ Line | Count | Source | 3799 | 1.03k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3800 | 1.03k | auto res = read_all(rr); | 3801 | 1.03k | if (SCN_UNLIKELY(res == r.begin())) { | 3802 | 0 | return detail::unexpected_scan_error( | 3803 | 0 | scan_error::invalid_scanned_value, | 3804 | 0 | "Invalid float value"); | 3805 | 0 | } | 3806 | 1.03k | return res; | 3807 | 1.03k | }; |
|
3808 | 1.99k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); |
3809 | 1.95k | } |
3810 | | } |
3811 | 636 | else { |
3812 | 636 | SCN_TRY_ASSIGN( |
3813 | 20 | it, |
3814 | 20 | do_read_source_impl( |
3815 | 20 | r, [&](const auto& rr) { return read_regular_float(rr); }, |
3816 | 20 | [&](const auto& rr) { return read_hexfloat(rr); })); |
3817 | 20 | } |
3818 | | |
3819 | 2.62k | SCN_EXPECT(m_kind != float_kind::tbd); |
3820 | | |
3821 | 1.97k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && |
3822 | 1.97k | m_kind != float_kind::nan_simple && |
3823 | 1.97k | m_kind != float_kind::nan_with_payload) { |
3824 | 1.97k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); |
3825 | 1.97k | } |
3826 | | |
3827 | 1.97k | handle_separators(); |
3828 | | |
3829 | 1.97k | return it; |
3830 | 2.62k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3778 | 392 | { | 3779 | 392 | SCN_TRY(sign_result, | 3780 | 392 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3781 | 392 | auto it = sign_result.first; | 3782 | 392 | m_sign = sign_result.second; | 3783 | | | 3784 | 392 | auto digits_begin = it; | 3785 | 392 | auto r = ranges::subrange{it, range.end()}; | 3786 | | if constexpr (ranges::contiguous_range<Range> && | 3787 | | ranges::sized_range<Range>) { | 3788 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3789 | | m_locale_options.decimal_point != CharT{'.'})) { | 3790 | | SCN_TRY_ASSIGN( | 3791 | | it, | 3792 | | do_read_source_impl( | 3793 | | r, | 3794 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3795 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3796 | | } | 3797 | | else { | 3798 | | auto cb = [&](const auto& rr) | 3799 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3800 | | auto res = read_all(rr); | 3801 | | if (SCN_UNLIKELY(res == r.begin())) { | 3802 | | return detail::unexpected_scan_error( | 3803 | | scan_error::invalid_scanned_value, | 3804 | | "Invalid float value"); | 3805 | | } | 3806 | | return res; | 3807 | | }; | 3808 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3809 | | } | 3810 | | } | 3811 | 392 | else { | 3812 | 392 | SCN_TRY_ASSIGN( | 3813 | 0 | it, | 3814 | 0 | do_read_source_impl( | 3815 | 0 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3816 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3817 | 0 | } | 3818 | | | 3819 | 392 | SCN_EXPECT(m_kind != float_kind::tbd); | 3820 | | | 3821 | 0 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3822 | 0 | m_kind != float_kind::nan_simple && | 3823 | 0 | m_kind != float_kind::nan_with_payload) { | 3824 | 0 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3825 | 0 | } | 3826 | |
| 3827 | 0 | handle_separators(); | 3828 | |
| 3829 | 0 | return it; | 3830 | 392 | } |
_ZN3scn2v44impl12float_readerIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3778 | 930 | { | 3779 | 930 | SCN_TRY(sign_result, | 3780 | 930 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3781 | 930 | auto it = sign_result.first; | 3782 | 930 | m_sign = sign_result.second; | 3783 | | | 3784 | 930 | auto digits_begin = it; | 3785 | 930 | auto r = ranges::subrange{it, range.end()}; | 3786 | | if constexpr (ranges::contiguous_range<Range> && | 3787 | 930 | ranges::sized_range<Range>) { | 3788 | 930 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3789 | 930 | m_locale_options.decimal_point != CharT{'.'})) { | 3790 | 0 | SCN_TRY_ASSIGN( | 3791 | 0 | it, | 3792 | 0 | do_read_source_impl( | 3793 | 0 | r, | 3794 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3795 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3796 | 0 | } | 3797 | 930 | else { | 3798 | 930 | auto cb = [&](const auto& rr) | 3799 | 930 | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3800 | 930 | auto res = read_all(rr); | 3801 | 930 | if (SCN_UNLIKELY(res == r.begin())) { | 3802 | 930 | return detail::unexpected_scan_error( | 3803 | 930 | scan_error::invalid_scanned_value, | 3804 | 930 | "Invalid float value"); | 3805 | 930 | } | 3806 | 930 | return res; | 3807 | 930 | }; | 3808 | 930 | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3809 | 908 | } | 3810 | | } | 3811 | | else { | 3812 | | SCN_TRY_ASSIGN( | 3813 | | it, | 3814 | | do_read_source_impl( | 3815 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3816 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3817 | | } | 3818 | | | 3819 | 930 | SCN_EXPECT(m_kind != float_kind::tbd); | 3820 | | | 3821 | 908 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3822 | 908 | m_kind != float_kind::nan_simple && | 3823 | 908 | m_kind != float_kind::nan_with_payload) { | 3824 | 908 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3825 | 908 | } | 3826 | | | 3827 | 908 | handle_separators(); | 3828 | | | 3829 | 908 | return it; | 3830 | 930 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_ Line | Count | Source | 3778 | 244 | { | 3779 | 244 | SCN_TRY(sign_result, | 3780 | 244 | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3781 | 244 | auto it = sign_result.first; | 3782 | 244 | m_sign = sign_result.second; | 3783 | | | 3784 | 244 | auto digits_begin = it; | 3785 | 244 | auto r = ranges::subrange{it, range.end()}; | 3786 | | if constexpr (ranges::contiguous_range<Range> && | 3787 | | ranges::sized_range<Range>) { | 3788 | | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3789 | | m_locale_options.decimal_point != CharT{'.'})) { | 3790 | | SCN_TRY_ASSIGN( | 3791 | | it, | 3792 | | do_read_source_impl( | 3793 | | r, | 3794 | | [&](const auto& rr) { return read_regular_float(rr); }, | 3795 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3796 | | } | 3797 | | else { | 3798 | | auto cb = [&](const auto& rr) | 3799 | | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3800 | | auto res = read_all(rr); | 3801 | | if (SCN_UNLIKELY(res == r.begin())) { | 3802 | | return detail::unexpected_scan_error( | 3803 | | scan_error::invalid_scanned_value, | 3804 | | "Invalid float value"); | 3805 | | } | 3806 | | return res; | 3807 | | }; | 3808 | | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3809 | | } | 3810 | | } | 3811 | 244 | else { | 3812 | 244 | SCN_TRY_ASSIGN( | 3813 | 20 | it, | 3814 | 20 | do_read_source_impl( | 3815 | 20 | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3816 | 20 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3817 | 20 | } | 3818 | | | 3819 | 244 | SCN_EXPECT(m_kind != float_kind::tbd); | 3820 | | | 3821 | 20 | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3822 | 20 | m_kind != float_kind::nan_simple && | 3823 | 20 | m_kind != float_kind::nan_with_payload) { | 3824 | 20 | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3825 | 20 | } | 3826 | | | 3827 | 20 | handle_separators(); | 3828 | | | 3829 | 20 | return it; | 3830 | 244 | } |
_ZN3scn2v44impl12float_readerIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3778 | 1.06k | { | 3779 | 1.06k | SCN_TRY(sign_result, | 3780 | 1.06k | parse_numeric_sign(range).transform_error(make_eof_scan_error)); | 3781 | 1.06k | auto it = sign_result.first; | 3782 | 1.06k | m_sign = sign_result.second; | 3783 | | | 3784 | 1.06k | auto digits_begin = it; | 3785 | 1.06k | auto r = ranges::subrange{it, range.end()}; | 3786 | | if constexpr (ranges::contiguous_range<Range> && | 3787 | 1.06k | ranges::sized_range<Range>) { | 3788 | 1.06k | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 || | 3789 | 1.06k | m_locale_options.decimal_point != CharT{'.'})) { | 3790 | 0 | SCN_TRY_ASSIGN( | 3791 | 0 | it, | 3792 | 0 | do_read_source_impl( | 3793 | 0 | r, | 3794 | 0 | [&](const auto& rr) { return read_regular_float(rr); }, | 3795 | 0 | [&](const auto& rr) { return read_hexfloat(rr); })); | 3796 | 0 | } | 3797 | 1.06k | else { | 3798 | 1.06k | auto cb = [&](const auto& rr) | 3799 | 1.06k | -> scan_expected<ranges::const_iterator_t<decltype(rr)>> { | 3800 | 1.06k | auto res = read_all(rr); | 3801 | 1.06k | if (SCN_UNLIKELY(res == r.begin())) { | 3802 | 1.06k | return detail::unexpected_scan_error( | 3803 | 1.06k | scan_error::invalid_scanned_value, | 3804 | 1.06k | "Invalid float value"); | 3805 | 1.06k | } | 3806 | 1.06k | return res; | 3807 | 1.06k | }; | 3808 | 1.06k | SCN_TRY_ASSIGN(it, do_read_source_impl(r, cb, cb)); | 3809 | 1.04k | } | 3810 | | } | 3811 | | else { | 3812 | | SCN_TRY_ASSIGN( | 3813 | | it, | 3814 | | do_read_source_impl( | 3815 | | r, [&](const auto& rr) { return read_regular_float(rr); }, | 3816 | | [&](const auto& rr) { return read_hexfloat(rr); })); | 3817 | | } | 3818 | | | 3819 | 1.06k | SCN_EXPECT(m_kind != float_kind::tbd); | 3820 | | | 3821 | 1.04k | if (m_kind != float_kind::inf_short && m_kind != float_kind::inf_long && | 3822 | 1.04k | m_kind != float_kind::nan_simple && | 3823 | 1.04k | m_kind != float_kind::nan_with_payload) { | 3824 | 1.04k | this->m_buffer.assign(ranges::subrange{digits_begin, it}); | 3825 | 1.04k | } | 3826 | | | 3827 | 1.04k | handle_separators(); | 3828 | | | 3829 | 1.04k | return it; | 3830 | 1.06k | } |
|
3831 | | |
3832 | | template <typename Range> |
3833 | | auto read_dec_digits(Range range, bool thsep_allowed) |
3834 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3835 | 676 | { |
3836 | 676 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3837 | 676 | thsep_allowed)) { |
3838 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3839 | 0 | return char_to_int(ch) < 10 || |
3840 | 0 | ch == m_locale_options.thousands_sep; |
3841 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3842 | 0 | } |
3843 | | |
3844 | 676 | return read_while1_code_unit( |
3845 | 686 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3845 | 384 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Line | Count | Source | 3845 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3845 | 244 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
_ZZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw Line | Count | Source | 3845 | 36 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); |
|
3846 | 676 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3835 | 384 | { | 3836 | 384 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3837 | 384 | thsep_allowed)) { | 3838 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3839 | 0 | return char_to_int(ch) < 10 || | 3840 | 0 | ch == m_locale_options.thousands_sep; | 3841 | 0 | }); | 3842 | 0 | } | 3843 | | | 3844 | 384 | return read_while1_code_unit( | 3845 | 384 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3846 | 384 | } |
_ZN3scn2v44impl12float_readerIcE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3835 | 22 | { | 3836 | 22 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3837 | 22 | thsep_allowed)) { | 3838 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3839 | 0 | return char_to_int(ch) < 10 || | 3840 | 0 | ch == m_locale_options.thousands_sep; | 3841 | 0 | }); | 3842 | 0 | } | 3843 | | | 3844 | 22 | return read_while1_code_unit( | 3845 | 22 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3846 | 22 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3835 | 240 | { | 3836 | 240 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3837 | 240 | thsep_allowed)) { | 3838 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3839 | 0 | return char_to_int(ch) < 10 || | 3840 | 0 | ch == m_locale_options.thousands_sep; | 3841 | 0 | }); | 3842 | 0 | } | 3843 | | | 3844 | 240 | return read_while1_code_unit( | 3845 | 240 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3846 | 240 | } |
_ZN3scn2v44impl12float_readerIwE15read_dec_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Line | Count | Source | 3835 | 30 | { | 3836 | 30 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3837 | 30 | thsep_allowed)) { | 3838 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3839 | 0 | return char_to_int(ch) < 10 || | 3840 | 0 | ch == m_locale_options.thousands_sep; | 3841 | 0 | }); | 3842 | 0 | } | 3843 | | | 3844 | 30 | return read_while1_code_unit( | 3845 | 30 | range, [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3846 | 30 | } |
|
3847 | | template <typename Range> |
3848 | | auto read_hex_digits(Range range, bool thsep_allowed) |
3849 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3850 | 34 | { |
3851 | 34 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && |
3852 | 34 | thsep_allowed)) { |
3853 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { |
3854 | 0 | return char_to_int(ch) < 16 || |
3855 | 0 | ch == m_locale_options.thousands_sep; |
3856 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE_clEw |
3857 | 0 | } |
3858 | | |
3859 | 34 | return read_while1_code_unit( |
3860 | 36 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlcE0_clEc _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlcE0_clEc Line | Count | Source | 3860 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlcE0_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_bENKUlwE0_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_bENKUlwE0_clEw _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_bENKUlwE0_clEw Line | Count | Source | 3860 | 28 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); |
Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_bENKUlwE0_clEw |
3861 | 34 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3850 | 8 | { | 3851 | 8 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3852 | 8 | thsep_allowed)) { | 3853 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3854 | 0 | return char_to_int(ch) < 16 || | 3855 | 0 | ch == m_locale_options.thousands_sep; | 3856 | 0 | }); | 3857 | 0 | } | 3858 | | | 3859 | 8 | return read_while1_code_unit( | 3860 | 8 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3861 | 8 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_b Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_b _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_b Line | Count | Source | 3850 | 26 | { | 3851 | 26 | if (SCN_UNLIKELY(m_locale_options.thousands_sep != 0 && | 3852 | 26 | thsep_allowed)) { | 3853 | 0 | return read_while1_code_unit(range, [&](char_type ch) noexcept { | 3854 | 0 | return char_to_int(ch) < 16 || | 3855 | 0 | ch == m_locale_options.thousands_sep; | 3856 | 0 | }); | 3857 | 0 | } | 3858 | | | 3859 | 26 | return read_while1_code_unit( | 3860 | 26 | range, [](char_type ch) noexcept { return char_to_int(ch) < 16; }); | 3861 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_digitsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_b |
3862 | | template <typename Range> |
3863 | | auto read_hex_prefix(Range range) |
3864 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3865 | 2.54k | { |
3866 | 2.54k | return read_matching_string_classic_nocase(range, "0x"); |
3867 | 2.54k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3865 | 362 | { | 3866 | 362 | return read_matching_string_classic_nocase(range, "0x"); | 3867 | 362 | } |
_ZN3scn2v44impl12float_readerIcE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3865 | 908 | { | 3866 | 908 | return read_matching_string_classic_nocase(range, "0x"); | 3867 | 908 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3865 | 232 | { | 3866 | 232 | return read_matching_string_classic_nocase(range, "0x"); | 3867 | 232 | } |
_ZN3scn2v44impl12float_readerIwE15read_hex_prefixINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3865 | 1.03k | { | 3866 | 1.03k | return read_matching_string_classic_nocase(range, "0x"); | 3867 | 1.03k | } |
|
3868 | | |
3869 | | template <typename Range> |
3870 | | auto read_inf(Range range) |
3871 | | -> parse_expected<ranges::const_iterator_t<Range>> |
3872 | 2.62k | { |
3873 | 2.62k | auto it = range.begin(); |
3874 | 2.62k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { |
3875 | 2.62k | return unexpected(r.error()); |
3876 | 2.62k | } |
3877 | 0 | else { |
3878 | 0 | it = *r; |
3879 | 0 | } |
3880 | | |
3881 | 0 | if (auto r = read_matching_string_classic_nocase( |
3882 | 0 | ranges::subrange{it, range.end()}, "inity"); |
3883 | 0 | !r) { |
3884 | 0 | m_kind = float_kind::inf_short; |
3885 | 0 | return it; |
3886 | 0 | } |
3887 | 0 | else { |
3888 | 0 | m_kind = float_kind::inf_long; |
3889 | 0 | return *r; |
3890 | 0 | } |
3891 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3872 | 392 | { | 3873 | 392 | auto it = range.begin(); | 3874 | 392 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3875 | 392 | return unexpected(r.error()); | 3876 | 392 | } | 3877 | 0 | else { | 3878 | 0 | it = *r; | 3879 | 0 | } | 3880 | | | 3881 | 0 | if (auto r = read_matching_string_classic_nocase( | 3882 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3883 | 0 | !r) { | 3884 | 0 | m_kind = float_kind::inf_short; | 3885 | 0 | return it; | 3886 | 0 | } | 3887 | 0 | else { | 3888 | 0 | m_kind = float_kind::inf_long; | 3889 | 0 | return *r; | 3890 | 0 | } | 3891 | 0 | } |
_ZN3scn2v44impl12float_readerIcE8read_infINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3872 | 930 | { | 3873 | 930 | auto it = range.begin(); | 3874 | 930 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3875 | 930 | return unexpected(r.error()); | 3876 | 930 | } | 3877 | 0 | else { | 3878 | 0 | it = *r; | 3879 | 0 | } | 3880 | | | 3881 | 0 | if (auto r = read_matching_string_classic_nocase( | 3882 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3883 | 0 | !r) { | 3884 | 0 | m_kind = float_kind::inf_short; | 3885 | 0 | return it; | 3886 | 0 | } | 3887 | 0 | else { | 3888 | 0 | m_kind = float_kind::inf_long; | 3889 | 0 | return *r; | 3890 | 0 | } | 3891 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3872 | 244 | { | 3873 | 244 | auto it = range.begin(); | 3874 | 244 | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3875 | 244 | return unexpected(r.error()); | 3876 | 244 | } | 3877 | 0 | else { | 3878 | 0 | it = *r; | 3879 | 0 | } | 3880 | | | 3881 | 0 | if (auto r = read_matching_string_classic_nocase( | 3882 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3883 | 0 | !r) { | 3884 | 0 | m_kind = float_kind::inf_short; | 3885 | 0 | return it; | 3886 | 0 | } | 3887 | 0 | else { | 3888 | 0 | m_kind = float_kind::inf_long; | 3889 | 0 | return *r; | 3890 | 0 | } | 3891 | 0 | } |
_ZN3scn2v44impl12float_readerIwE8read_infINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS1_14parse_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3872 | 1.06k | { | 3873 | 1.06k | auto it = range.begin(); | 3874 | 1.06k | if (auto r = read_matching_string_classic_nocase(range, "inf"); !r) { | 3875 | 1.06k | return unexpected(r.error()); | 3876 | 1.06k | } | 3877 | 0 | else { | 3878 | 0 | it = *r; | 3879 | 0 | } | 3880 | | | 3881 | 0 | if (auto r = read_matching_string_classic_nocase( | 3882 | 0 | ranges::subrange{it, range.end()}, "inity"); | 3883 | 0 | !r) { | 3884 | 0 | m_kind = float_kind::inf_short; | 3885 | 0 | return it; | 3886 | 0 | } | 3887 | 0 | else { | 3888 | 0 | m_kind = float_kind::inf_long; | 3889 | 0 | return *r; | 3890 | 0 | } | 3891 | 0 | } |
|
3892 | | |
3893 | | template <typename Range> |
3894 | | auto read_nan(Range range) -> scan_expected<ranges::const_iterator_t<Range>> |
3895 | 2.62k | { |
3896 | 2.62k | auto it = range.begin(); |
3897 | 2.62k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { |
3898 | 2.62k | return r.transform_error(map_parse_error_to_scan_error( |
3899 | 2.62k | scan_error::invalid_scanned_value, |
3900 | 2.62k | "Invalid floating-point NaN value")); |
3901 | 2.62k | } |
3902 | 0 | else { |
3903 | 0 | it = *r; |
3904 | 0 | } |
3905 | | |
3906 | 0 | if (auto r = |
3907 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); |
3908 | 0 | !r) { |
3909 | 0 | m_kind = float_kind::nan_simple; |
3910 | 0 | return it; |
3911 | 0 | } |
3912 | 0 | else { |
3913 | 0 | it = *r; |
3914 | 0 | } |
3915 | | |
3916 | 0 | auto payload_beg_it = it; |
3917 | 0 | it = read_while_code_unit( |
3918 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { |
3919 | 0 | return is_ascii_char(ch) && |
3920 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || |
3921 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); |
3922 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ENKUlwE_clEw |
3923 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); |
3924 | |
|
3925 | 0 | m_kind = float_kind::nan_with_payload; |
3926 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3927 | 0 | ')')) { |
3928 | 0 | return *r; |
3929 | 0 | } |
3930 | 0 | return detail::unexpected_scan_error( |
3931 | 0 | scan_error::invalid_scanned_value, |
3932 | 0 | "Invalid floating-point NaN payload"); |
3933 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3895 | 392 | { | 3896 | 392 | auto it = range.begin(); | 3897 | 392 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3898 | 392 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 392 | scan_error::invalid_scanned_value, | 3900 | 392 | "Invalid floating-point NaN value")); | 3901 | 392 | } | 3902 | 0 | else { | 3903 | 0 | it = *r; | 3904 | 0 | } | 3905 | | | 3906 | 0 | if (auto r = | 3907 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3908 | 0 | !r) { | 3909 | 0 | m_kind = float_kind::nan_simple; | 3910 | 0 | return it; | 3911 | 0 | } | 3912 | 0 | else { | 3913 | 0 | it = *r; | 3914 | 0 | } | 3915 | | | 3916 | 0 | auto payload_beg_it = it; | 3917 | 0 | it = read_while_code_unit( | 3918 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3919 | 0 | return is_ascii_char(ch) && | 3920 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3921 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3922 | 0 | }); | 3923 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3924 | |
| 3925 | 0 | m_kind = float_kind::nan_with_payload; | 3926 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3927 | 0 | ')')) { | 3928 | 0 | return *r; | 3929 | 0 | } | 3930 | 0 | return detail::unexpected_scan_error( | 3931 | 0 | scan_error::invalid_scanned_value, | 3932 | 0 | "Invalid floating-point NaN payload"); | 3933 | 0 | } |
_ZN3scn2v44impl12float_readerIcE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3895 | 930 | { | 3896 | 930 | auto it = range.begin(); | 3897 | 930 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3898 | 930 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 930 | scan_error::invalid_scanned_value, | 3900 | 930 | "Invalid floating-point NaN value")); | 3901 | 930 | } | 3902 | 0 | else { | 3903 | 0 | it = *r; | 3904 | 0 | } | 3905 | | | 3906 | 0 | if (auto r = | 3907 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3908 | 0 | !r) { | 3909 | 0 | m_kind = float_kind::nan_simple; | 3910 | 0 | return it; | 3911 | 0 | } | 3912 | 0 | else { | 3913 | 0 | it = *r; | 3914 | 0 | } | 3915 | | | 3916 | 0 | auto payload_beg_it = it; | 3917 | 0 | it = read_while_code_unit( | 3918 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3919 | 0 | return is_ascii_char(ch) && | 3920 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3921 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3922 | 0 | }); | 3923 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3924 | |
| 3925 | 0 | m_kind = float_kind::nan_with_payload; | 3926 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3927 | 0 | ')')) { | 3928 | 0 | return *r; | 3929 | 0 | } | 3930 | 0 | return detail::unexpected_scan_error( | 3931 | 0 | scan_error::invalid_scanned_value, | 3932 | 0 | "Invalid floating-point NaN payload"); | 3933 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3895 | 244 | { | 3896 | 244 | auto it = range.begin(); | 3897 | 244 | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3898 | 244 | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 244 | scan_error::invalid_scanned_value, | 3900 | 244 | "Invalid floating-point NaN value")); | 3901 | 244 | } | 3902 | 0 | else { | 3903 | 0 | it = *r; | 3904 | 0 | } | 3905 | | | 3906 | 0 | if (auto r = | 3907 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3908 | 0 | !r) { | 3909 | 0 | m_kind = float_kind::nan_simple; | 3910 | 0 | return it; | 3911 | 0 | } | 3912 | 0 | else { | 3913 | 0 | it = *r; | 3914 | 0 | } | 3915 | | | 3916 | 0 | auto payload_beg_it = it; | 3917 | 0 | it = read_while_code_unit( | 3918 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3919 | 0 | return is_ascii_char(ch) && | 3920 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3921 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3922 | 0 | }); | 3923 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3924 | |
| 3925 | 0 | m_kind = float_kind::nan_with_payload; | 3926 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3927 | 0 | ')')) { | 3928 | 0 | return *r; | 3929 | 0 | } | 3930 | 0 | return detail::unexpected_scan_error( | 3931 | 0 | scan_error::invalid_scanned_value, | 3932 | 0 | "Invalid floating-point NaN payload"); | 3933 | 0 | } |
_ZN3scn2v44impl12float_readerIwE8read_nanINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 3895 | 1.06k | { | 3896 | 1.06k | auto it = range.begin(); | 3897 | 1.06k | if (auto r = read_matching_string_classic_nocase(range, "nan"); !r) { | 3898 | 1.06k | return r.transform_error(map_parse_error_to_scan_error( | 3899 | 1.06k | scan_error::invalid_scanned_value, | 3900 | 1.06k | "Invalid floating-point NaN value")); | 3901 | 1.06k | } | 3902 | 0 | else { | 3903 | 0 | it = *r; | 3904 | 0 | } | 3905 | | | 3906 | 0 | if (auto r = | 3907 | 0 | read_matching_code_unit(ranges::subrange{it, range.end()}, '('); | 3908 | 0 | !r) { | 3909 | 0 | m_kind = float_kind::nan_simple; | 3910 | 0 | return it; | 3911 | 0 | } | 3912 | 0 | else { | 3913 | 0 | it = *r; | 3914 | 0 | } | 3915 | | | 3916 | 0 | auto payload_beg_it = it; | 3917 | 0 | it = read_while_code_unit( | 3918 | 0 | ranges::subrange{it, range.end()}, [](char_type ch) noexcept { | 3919 | 0 | return is_ascii_char(ch) && | 3920 | 0 | ((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'z') || | 3921 | 0 | (ch >= 'A' && ch <= 'Z') || ch == '_'); | 3922 | 0 | }); | 3923 | 0 | m_nan_payload_buffer.assign(ranges::subrange{payload_beg_it, it}); | 3924 | |
| 3925 | 0 | m_kind = float_kind::nan_with_payload; | 3926 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3927 | 0 | ')')) { | 3928 | 0 | return *r; | 3929 | 0 | } | 3930 | 0 | return detail::unexpected_scan_error( | 3931 | 0 | scan_error::invalid_scanned_value, | 3932 | 0 | "Invalid floating-point NaN payload"); | 3933 | 0 | } |
|
3934 | | |
3935 | | template <typename Range> |
3936 | | auto read_exponent(Range range, std::string_view exp) |
3937 | | -> ranges::const_iterator_t<Range> |
3938 | 24 | { |
3939 | 24 | if (auto r = read_one_of_code_unit(range, exp)) { |
3940 | 0 | auto beg_exp_it = range.begin(); |
3941 | 0 | auto it = *r; |
3942 | |
|
3943 | 0 | if (auto r_sign = |
3944 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { |
3945 | 0 | it = r_sign->first; |
3946 | 0 | } |
3947 | |
|
3948 | 0 | if (auto r_exp = read_while1_code_unit( |
3949 | 0 | ranges::subrange{it, range.end()}, |
3950 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; });Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEEENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEEENKUlwE_clEw |
3951 | 0 | SCN_UNLIKELY(!r_exp)) { |
3952 | 0 | it = beg_exp_it; |
3953 | 0 | } |
3954 | 0 | else { |
3955 | 0 | it = *r_exp; |
3956 | 0 | } |
3957 | |
|
3958 | 0 | return it; |
3959 | 0 | } |
3960 | 24 | return range.begin(); |
3961 | 24 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESP_NSN_17basic_string_viewIcNSN_11char_traitsIcEEEE Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEE _ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESM_NSK_17basic_string_viewIcNSK_11char_traitsIcEEEE Line | Count | Source | 3938 | 20 | { | 3939 | 20 | if (auto r = read_one_of_code_unit(range, exp)) { | 3940 | 0 | auto beg_exp_it = range.begin(); | 3941 | 0 | auto it = *r; | 3942 | |
| 3943 | 0 | if (auto r_sign = | 3944 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { | 3945 | 0 | it = r_sign->first; | 3946 | 0 | } | 3947 | |
| 3948 | 0 | if (auto r_exp = read_while1_code_unit( | 3949 | 0 | ranges::subrange{it, range.end()}, | 3950 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3951 | 0 | SCN_UNLIKELY(!r_exp)) { | 3952 | 0 | it = beg_exp_it; | 3953 | 0 | } | 3954 | 0 | else { | 3955 | 0 | it = *r_exp; | 3956 | 0 | } | 3957 | |
| 3958 | 0 | return it; | 3959 | 0 | } | 3960 | 20 | return range.begin(); | 3961 | 20 | } |
_ZN3scn2v44impl12float_readerIwE13read_exponentINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEESE_NSC_17basic_string_viewIcNSC_11char_traitsIcEEEE Line | Count | Source | 3938 | 4 | { | 3939 | 4 | if (auto r = read_one_of_code_unit(range, exp)) { | 3940 | 0 | auto beg_exp_it = range.begin(); | 3941 | 0 | auto it = *r; | 3942 | |
| 3943 | 0 | if (auto r_sign = | 3944 | 0 | parse_numeric_sign(ranges::subrange{it, range.end()})) { | 3945 | 0 | it = r_sign->first; | 3946 | 0 | } | 3947 | |
| 3948 | 0 | if (auto r_exp = read_while1_code_unit( | 3949 | 0 | ranges::subrange{it, range.end()}, | 3950 | 0 | [](char_type ch) noexcept { return char_to_int(ch) < 10; }); | 3951 | 0 | SCN_UNLIKELY(!r_exp)) { | 3952 | 0 | it = beg_exp_it; | 3953 | 0 | } | 3954 | 0 | else { | 3955 | 0 | it = *r_exp; | 3956 | 0 | } | 3957 | |
| 3958 | 0 | return it; | 3959 | 0 | } | 3960 | 4 | return range.begin(); | 3961 | 4 | } |
|
3962 | | |
3963 | | template <typename Range> |
3964 | | auto read_hexfloat(Range range) |
3965 | | -> scan_expected<ranges::const_iterator_t<Range>> |
3966 | 28 | { |
3967 | 28 | auto it = range.begin(); |
3968 | | |
3969 | 28 | std::ptrdiff_t digits_count = 0; |
3970 | 28 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); |
3971 | 28 | SCN_UNLIKELY(!r)) { |
3972 | 22 | return r.transform_error(map_parse_error_to_scan_error( |
3973 | 22 | scan_error::invalid_scanned_value, |
3974 | 22 | "Invalid hexadecimal floating-point value")); |
3975 | 22 | } |
3976 | 6 | else { |
3977 | 6 | digits_count += ranges::distance(it, *r); |
3978 | 6 | it = *r; |
3979 | 6 | } |
3980 | | |
3981 | 6 | m_integral_part_length = digits_count; |
3982 | 6 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
3983 | 6 | m_locale_options.decimal_point)) { |
3984 | 0 | it = *r; |
3985 | 0 | } |
3986 | | |
3987 | 6 | if (auto r = |
3988 | 6 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { |
3989 | 0 | digits_count += ranges::distance(it, *r); |
3990 | 0 | it = *r; |
3991 | 0 | } |
3992 | | |
3993 | 6 | if (SCN_UNLIKELY(digits_count == 0)) { |
3994 | 0 | return detail::unexpected_scan_error( |
3995 | 0 | scan_error::invalid_scanned_value, |
3996 | 0 | "No significand digits in hexfloat"); |
3997 | 0 | } |
3998 | | |
3999 | 6 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); |
4000 | | |
4001 | 6 | return it; |
4002 | 6 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3966 | 8 | { | 3967 | 8 | auto it = range.begin(); | 3968 | | | 3969 | 8 | std::ptrdiff_t digits_count = 0; | 3970 | 8 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3971 | 8 | SCN_UNLIKELY(!r)) { | 3972 | 8 | return r.transform_error(map_parse_error_to_scan_error( | 3973 | 8 | scan_error::invalid_scanned_value, | 3974 | 8 | "Invalid hexadecimal floating-point value")); | 3975 | 8 | } | 3976 | 0 | else { | 3977 | 0 | digits_count += ranges::distance(it, *r); | 3978 | 0 | it = *r; | 3979 | 0 | } | 3980 | | | 3981 | 0 | m_integral_part_length = digits_count; | 3982 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3983 | 0 | m_locale_options.decimal_point)) { | 3984 | 0 | it = *r; | 3985 | 0 | } | 3986 | |
| 3987 | 0 | if (auto r = | 3988 | 0 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | |
| 3993 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 3994 | 0 | return detail::unexpected_scan_error( | 3995 | 0 | scan_error::invalid_scanned_value, | 3996 | 0 | "No significand digits in hexfloat"); | 3997 | 0 | } | 3998 | | | 3999 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 4000 | |
| 4001 | 0 | return it; | 4002 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 3966 | 20 | { | 3967 | 20 | auto it = range.begin(); | 3968 | | | 3969 | 20 | std::ptrdiff_t digits_count = 0; | 3970 | 20 | if (auto r = read_hex_digits(ranges::subrange{it, range.end()}, true); | 3971 | 20 | SCN_UNLIKELY(!r)) { | 3972 | 14 | return r.transform_error(map_parse_error_to_scan_error( | 3973 | 14 | scan_error::invalid_scanned_value, | 3974 | 14 | "Invalid hexadecimal floating-point value")); | 3975 | 14 | } | 3976 | 6 | else { | 3977 | 6 | digits_count += ranges::distance(it, *r); | 3978 | 6 | it = *r; | 3979 | 6 | } | 3980 | | | 3981 | 6 | m_integral_part_length = digits_count; | 3982 | 6 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 3983 | 6 | m_locale_options.decimal_point)) { | 3984 | 0 | it = *r; | 3985 | 0 | } | 3986 | | | 3987 | 6 | if (auto r = | 3988 | 6 | read_hex_digits(ranges::subrange{it, range.end()}, false)) { | 3989 | 0 | digits_count += ranges::distance(it, *r); | 3990 | 0 | it = *r; | 3991 | 0 | } | 3992 | | | 3993 | 6 | if (SCN_UNLIKELY(digits_count == 0)) { | 3994 | 0 | return detail::unexpected_scan_error( | 3995 | 0 | scan_error::invalid_scanned_value, | 3996 | 0 | "No significand digits in hexfloat"); | 3997 | 0 | } | 3998 | | | 3999 | 6 | it = read_exponent(ranges::subrange{it, range.end()}, "pP"); | 4000 | | | 4001 | 6 | return it; | 4002 | 6 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE13read_hexfloatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ |
4003 | | |
4004 | | template <typename Range> |
4005 | | auto read_regular_float(Range range) |
4006 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4007 | 654 | { |
4008 | 654 | const bool allowed_exp = (m_options & allow_scientific) != 0; |
4009 | 654 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; |
4010 | | |
4011 | 654 | auto it = ranges::begin(range); |
4012 | 654 | std::ptrdiff_t digits_count = 0; |
4013 | | |
4014 | 654 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); |
4015 | 654 | SCN_UNLIKELY(!r)) { |
4016 | 632 | return r.transform_error( |
4017 | 632 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, |
4018 | 632 | "Invalid floating-point value")); |
4019 | 632 | } |
4020 | 22 | else { |
4021 | 22 | digits_count += ranges::distance(it, *r); |
4022 | 22 | it = *r; |
4023 | 22 | } |
4024 | | |
4025 | 22 | m_integral_part_length = digits_count; |
4026 | 22 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, |
4027 | 22 | m_locale_options.decimal_point)) { |
4028 | 0 | it = *r; |
4029 | 0 | } |
4030 | | |
4031 | 22 | if (auto r = |
4032 | 22 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { |
4033 | 0 | digits_count += ranges::distance(it, *r); |
4034 | 0 | it = *r; |
4035 | 0 | } |
4036 | | |
4037 | 22 | if (SCN_UNLIKELY(digits_count == 0)) { |
4038 | 0 | return detail::unexpected_scan_error( |
4039 | 0 | scan_error::invalid_scanned_value, |
4040 | 0 | "No significand digits in float"); |
4041 | 0 | } |
4042 | | |
4043 | 22 | auto beg_exp_it = it; |
4044 | 22 | if (allowed_exp) { |
4045 | 18 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); |
4046 | 18 | } |
4047 | 22 | if (required_exp && beg_exp_it == it) { |
4048 | 4 | return detail::unexpected_scan_error( |
4049 | 4 | scan_error::invalid_scanned_value, |
4050 | 4 | "No exponent given to scientific float"); |
4051 | 4 | } |
4052 | | |
4053 | 18 | m_kind = |
4054 | 18 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; |
4055 | | |
4056 | 18 | return it; |
4057 | 22 | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 4007 | 384 | { | 4008 | 384 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 4009 | 384 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 4010 | | | 4011 | 384 | auto it = ranges::begin(range); | 4012 | 384 | std::ptrdiff_t digits_count = 0; | 4013 | | | 4014 | 384 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 4015 | 384 | SCN_UNLIKELY(!r)) { | 4016 | 384 | return r.transform_error( | 4017 | 384 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 4018 | 384 | "Invalid floating-point value")); | 4019 | 384 | } | 4020 | 0 | else { | 4021 | 0 | digits_count += ranges::distance(it, *r); | 4022 | 0 | it = *r; | 4023 | 0 | } | 4024 | | | 4025 | 0 | m_integral_part_length = digits_count; | 4026 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 4027 | 0 | m_locale_options.decimal_point)) { | 4028 | 0 | it = *r; | 4029 | 0 | } | 4030 | |
| 4031 | 0 | if (auto r = | 4032 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4033 | 0 | digits_count += ranges::distance(it, *r); | 4034 | 0 | it = *r; | 4035 | 0 | } | 4036 | |
| 4037 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4038 | 0 | return detail::unexpected_scan_error( | 4039 | 0 | scan_error::invalid_scanned_value, | 4040 | 0 | "No significand digits in float"); | 4041 | 0 | } | 4042 | | | 4043 | 0 | auto beg_exp_it = it; | 4044 | 0 | if (allowed_exp) { | 4045 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4046 | 0 | } | 4047 | 0 | if (required_exp && beg_exp_it == it) { | 4048 | 0 | return detail::unexpected_scan_error( | 4049 | 0 | scan_error::invalid_scanned_value, | 4050 | 0 | "No exponent given to scientific float"); | 4051 | 0 | } | 4052 | | | 4053 | 0 | m_kind = | 4054 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4055 | |
| 4056 | 0 | return it; | 4057 | 0 | } |
_ZN3scn2v44impl12float_readerIcE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 4007 | 22 | { | 4008 | 22 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 4009 | 22 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 4010 | | | 4011 | 22 | auto it = ranges::begin(range); | 4012 | 22 | std::ptrdiff_t digits_count = 0; | 4013 | | | 4014 | 22 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 4015 | 22 | SCN_UNLIKELY(!r)) { | 4016 | 22 | return r.transform_error( | 4017 | 22 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 4018 | 22 | "Invalid floating-point value")); | 4019 | 22 | } | 4020 | 0 | else { | 4021 | 0 | digits_count += ranges::distance(it, *r); | 4022 | 0 | it = *r; | 4023 | 0 | } | 4024 | | | 4025 | 0 | m_integral_part_length = digits_count; | 4026 | 0 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 4027 | 0 | m_locale_options.decimal_point)) { | 4028 | 0 | it = *r; | 4029 | 0 | } | 4030 | |
| 4031 | 0 | if (auto r = | 4032 | 0 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4033 | 0 | digits_count += ranges::distance(it, *r); | 4034 | 0 | it = *r; | 4035 | 0 | } | 4036 | |
| 4037 | 0 | if (SCN_UNLIKELY(digits_count == 0)) { | 4038 | 0 | return detail::unexpected_scan_error( | 4039 | 0 | scan_error::invalid_scanned_value, | 4040 | 0 | "No significand digits in float"); | 4041 | 0 | } | 4042 | | | 4043 | 0 | auto beg_exp_it = it; | 4044 | 0 | if (allowed_exp) { | 4045 | 0 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4046 | 0 | } | 4047 | 0 | if (required_exp && beg_exp_it == it) { | 4048 | 0 | return detail::unexpected_scan_error( | 4049 | 0 | scan_error::invalid_scanned_value, | 4050 | 0 | "No exponent given to scientific float"); | 4051 | 0 | } | 4052 | | | 4053 | 0 | m_kind = | 4054 | 0 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4055 | |
| 4056 | 0 | return it; | 4057 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESQ_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_ _ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESN_ Line | Count | Source | 4007 | 224 | { | 4008 | 224 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 4009 | 224 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 4010 | | | 4011 | 224 | auto it = ranges::begin(range); | 4012 | 224 | std::ptrdiff_t digits_count = 0; | 4013 | | | 4014 | 224 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 4015 | 224 | SCN_UNLIKELY(!r)) { | 4016 | 208 | return r.transform_error( | 4017 | 208 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 4018 | 208 | "Invalid floating-point value")); | 4019 | 208 | } | 4020 | 16 | else { | 4021 | 16 | digits_count += ranges::distance(it, *r); | 4022 | 16 | it = *r; | 4023 | 16 | } | 4024 | | | 4025 | 16 | m_integral_part_length = digits_count; | 4026 | 16 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 4027 | 16 | m_locale_options.decimal_point)) { | 4028 | 0 | it = *r; | 4029 | 0 | } | 4030 | | | 4031 | 16 | if (auto r = | 4032 | 16 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4033 | 0 | digits_count += ranges::distance(it, *r); | 4034 | 0 | it = *r; | 4035 | 0 | } | 4036 | | | 4037 | 16 | if (SCN_UNLIKELY(digits_count == 0)) { | 4038 | 0 | return detail::unexpected_scan_error( | 4039 | 0 | scan_error::invalid_scanned_value, | 4040 | 0 | "No significand digits in float"); | 4041 | 0 | } | 4042 | | | 4043 | 16 | auto beg_exp_it = it; | 4044 | 16 | if (allowed_exp) { | 4045 | 14 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4046 | 14 | } | 4047 | 16 | if (required_exp && beg_exp_it == it) { | 4048 | 2 | return detail::unexpected_scan_error( | 4049 | 2 | scan_error::invalid_scanned_value, | 4050 | 2 | "No exponent given to scientific float"); | 4051 | 2 | } | 4052 | | | 4053 | 14 | m_kind = | 4054 | 14 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4055 | | | 4056 | 14 | return it; | 4057 | 16 | } |
_ZN3scn2v44impl12float_readerIwE18read_regular_floatINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_ Line | Count | Source | 4007 | 24 | { | 4008 | 24 | const bool allowed_exp = (m_options & allow_scientific) != 0; | 4009 | 24 | const bool required_exp = allowed_exp && (m_options & allow_fixed) == 0; | 4010 | | | 4011 | 24 | auto it = ranges::begin(range); | 4012 | 24 | std::ptrdiff_t digits_count = 0; | 4013 | | | 4014 | 24 | if (auto r = read_dec_digits(ranges::subrange{it, range.end()}, true); | 4015 | 24 | SCN_UNLIKELY(!r)) { | 4016 | 18 | return r.transform_error( | 4017 | 18 | map_parse_error_to_scan_error(scan_error::invalid_scanned_value, | 4018 | 18 | "Invalid floating-point value")); | 4019 | 18 | } | 4020 | 6 | else { | 4021 | 6 | digits_count += ranges::distance(it, *r); | 4022 | 6 | it = *r; | 4023 | 6 | } | 4024 | | | 4025 | 6 | m_integral_part_length = digits_count; | 4026 | 6 | if (auto r = read_matching_code_unit(ranges::subrange{it, range.end()}, | 4027 | 6 | m_locale_options.decimal_point)) { | 4028 | 0 | it = *r; | 4029 | 0 | } | 4030 | | | 4031 | 6 | if (auto r = | 4032 | 6 | read_dec_digits(ranges::subrange{it, range.end()}, false)) { | 4033 | 0 | digits_count += ranges::distance(it, *r); | 4034 | 0 | it = *r; | 4035 | 0 | } | 4036 | | | 4037 | 6 | if (SCN_UNLIKELY(digits_count == 0)) { | 4038 | 0 | return detail::unexpected_scan_error( | 4039 | 0 | scan_error::invalid_scanned_value, | 4040 | 0 | "No significand digits in float"); | 4041 | 0 | } | 4042 | | | 4043 | 6 | auto beg_exp_it = it; | 4044 | 6 | if (allowed_exp) { | 4045 | 4 | it = read_exponent(ranges::subrange{it, range.end()}, "eE"); | 4046 | 4 | } | 4047 | 6 | if (required_exp && beg_exp_it == it) { | 4048 | 2 | return detail::unexpected_scan_error( | 4049 | 2 | scan_error::invalid_scanned_value, | 4050 | 2 | "No exponent given to scientific float"); | 4051 | 2 | } | 4052 | | | 4053 | 4 | m_kind = | 4054 | 4 | (beg_exp_it == it) ? float_kind::fixed : float_kind::scientific; | 4055 | | | 4056 | 4 | return it; | 4057 | 6 | } |
|
4058 | | |
4059 | | template <typename Range, typename ReadRegular, typename ReadHex> |
4060 | | auto do_read_source_impl(Range range, |
4061 | | ReadRegular&& read_regular, |
4062 | | ReadHex&& read_hex) |
4063 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4064 | 2.62k | { |
4065 | 2.62k | const bool allowed_hex = (m_options & allow_hex) != 0; |
4066 | 2.62k | const bool allowed_nonhex = |
4067 | 2.62k | (m_options & ~static_cast<unsigned>(allow_thsep) & |
4068 | 2.62k | ~static_cast<unsigned>(allow_hex)) != 0; |
4069 | | |
4070 | 2.62k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { |
4071 | 0 | return r.transform_error(map_parse_error_to_scan_error( |
4072 | 0 | scan_error::invalid_scanned_value, |
4073 | 0 | "Invalid infinite floating-point value")); |
4074 | 0 | } |
4075 | 2.62k | else if (r) { |
4076 | 0 | return *r; |
4077 | 0 | } |
4078 | | |
4079 | 2.62k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { |
4080 | 0 | return unexpected(r.error()); |
4081 | 0 | } |
4082 | 2.62k | else if (r) { |
4083 | 0 | return *r; |
4084 | 0 | } |
4085 | | |
4086 | 2.62k | if (allowed_hex && !allowed_nonhex) { |
4087 | | // only hex allowed: |
4088 | | // prefix "0x" allowed, not required |
4089 | 108 | auto it = range.begin(); |
4090 | | |
4091 | 108 | if (auto r = read_hex_prefix(range)) { |
4092 | 0 | m_kind = float_kind::hex_with_prefix; |
4093 | 0 | it = *r; |
4094 | 0 | } |
4095 | 108 | else { |
4096 | 108 | m_kind = float_kind::hex_without_prefix; |
4097 | 108 | } |
4098 | | |
4099 | 108 | return read_hex(ranges::subrange{it, range.end()}); |
4100 | 108 | } |
4101 | 2.52k | if (!allowed_hex && allowed_nonhex) { |
4102 | | // only nonhex allowed: |
4103 | | // no prefix allowed |
4104 | 88 | m_kind = float_kind::generic; |
4105 | 88 | return read_regular_float(range); |
4106 | 88 | } |
4107 | | // both hex and nonhex allowed: |
4108 | | // check for "0x" prefix -> hex, |
4109 | | // regular otherwise |
4110 | | |
4111 | 2.43k | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { |
4112 | 0 | m_kind = float_kind::hex_with_prefix; |
4113 | 0 | return read_hex(ranges::subrange{*r, range.end()}); |
4114 | 0 | } |
4115 | | |
4116 | 2.43k | m_kind = float_kind::generic; |
4117 | 2.43k | return read_regular(range); |
4118 | 2.43k | } Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKcSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 4064 | 392 | { | 4065 | 392 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4066 | 392 | const bool allowed_nonhex = | 4067 | 392 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4068 | 392 | ~static_cast<unsigned>(allow_hex)) != 0; | 4069 | | | 4070 | 392 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4071 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4072 | 0 | scan_error::invalid_scanned_value, | 4073 | 0 | "Invalid infinite floating-point value")); | 4074 | 0 | } | 4075 | 392 | else if (r) { | 4076 | 0 | return *r; | 4077 | 0 | } | 4078 | | | 4079 | 392 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4080 | 0 | return unexpected(r.error()); | 4081 | 0 | } | 4082 | 392 | else if (r) { | 4083 | 0 | return *r; | 4084 | 0 | } | 4085 | | | 4086 | 392 | if (allowed_hex && !allowed_nonhex) { | 4087 | | // only hex allowed: | 4088 | | // prefix "0x" allowed, not required | 4089 | 8 | auto it = range.begin(); | 4090 | | | 4091 | 8 | if (auto r = read_hex_prefix(range)) { | 4092 | 0 | m_kind = float_kind::hex_with_prefix; | 4093 | 0 | it = *r; | 4094 | 0 | } | 4095 | 8 | else { | 4096 | 8 | m_kind = float_kind::hex_without_prefix; | 4097 | 8 | } | 4098 | | | 4099 | 8 | return read_hex(ranges::subrange{it, range.end()}); | 4100 | 8 | } | 4101 | 384 | if (!allowed_hex && allowed_nonhex) { | 4102 | | // only nonhex allowed: | 4103 | | // no prefix allowed | 4104 | 30 | m_kind = float_kind::generic; | 4105 | 30 | return read_regular_float(range); | 4106 | 30 | } | 4107 | | // both hex and nonhex allowed: | 4108 | | // check for "0x" prefix -> hex, | 4109 | | // regular otherwise | 4110 | | | 4111 | 354 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4112 | 0 | m_kind = float_kind::hex_with_prefix; | 4113 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4114 | 0 | } | 4115 | | | 4116 | 354 | m_kind = float_kind::generic; | 4117 | 354 | return read_regular(range); | 4118 | 354 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v44impl12float_readerIcE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 4064 | 930 | { | 4065 | 930 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4066 | 930 | const bool allowed_nonhex = | 4067 | 930 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4068 | 930 | ~static_cast<unsigned>(allow_hex)) != 0; | 4069 | | | 4070 | 930 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4071 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4072 | 0 | scan_error::invalid_scanned_value, | 4073 | 0 | "Invalid infinite floating-point value")); | 4074 | 0 | } | 4075 | 930 | else if (r) { | 4076 | 0 | return *r; | 4077 | 0 | } | 4078 | | | 4079 | 930 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4080 | 0 | return unexpected(r.error()); | 4081 | 0 | } | 4082 | 930 | else if (r) { | 4083 | 0 | return *r; | 4084 | 0 | } | 4085 | | | 4086 | 930 | if (allowed_hex && !allowed_nonhex) { | 4087 | | // only hex allowed: | 4088 | | // prefix "0x" allowed, not required | 4089 | 8 | auto it = range.begin(); | 4090 | | | 4091 | 8 | if (auto r = read_hex_prefix(range)) { | 4092 | 0 | m_kind = float_kind::hex_with_prefix; | 4093 | 0 | it = *r; | 4094 | 0 | } | 4095 | 8 | else { | 4096 | 8 | m_kind = float_kind::hex_without_prefix; | 4097 | 8 | } | 4098 | | | 4099 | 8 | return read_hex(ranges::subrange{it, range.end()}); | 4100 | 8 | } | 4101 | 922 | if (!allowed_hex && allowed_nonhex) { | 4102 | | // only nonhex allowed: | 4103 | | // no prefix allowed | 4104 | 22 | m_kind = float_kind::generic; | 4105 | 22 | return read_regular_float(range); | 4106 | 22 | } | 4107 | | // both hex and nonhex allowed: | 4108 | | // check for "0x" prefix -> hex, | 4109 | | // regular otherwise | 4110 | | | 4111 | 900 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4112 | 0 | m_kind = float_kind::hex_with_prefix; | 4113 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4114 | 0 | } | 4115 | | | 4116 | 900 | m_kind = float_kind::generic; | 4117 | 900 | return read_regular(range); | 4118 | 900 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENS1_15take_width_viewINS8_ISE_SF_EEE8sentinelILb1EEEEEZNS3_16read_source_implISJ_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESR_EUlRKSR_E_ZNSN_ISJ_EESW_SR_EUlSY_E0_EESW_SR_OT0_OT1_ Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_16read_source_implISE_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_EUlRKSJ_E_ZNSF_ISE_EESO_SJ_EUlSQ_E0_EESO_SJ_OT0_OT1_ _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeINS1_27counted_width_iterator_impl22counted_width_iteratorIPKwSC_EENS1_15take_width_viewINS8_ISC_SC_EEE8sentinelILb1EEEEEZNS3_16read_source_implISG_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESO_EUlRKSO_E_ZNSK_ISG_EEST_SO_EUlSV_E0_EEST_SO_OT0_OT1_ Line | Count | Source | 4064 | 244 | { | 4065 | 244 | const bool allowed_hex = (m_options & allow_hex) != 0; | 4066 | 244 | const bool allowed_nonhex = | 4067 | 244 | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4068 | 244 | ~static_cast<unsigned>(allow_hex)) != 0; | 4069 | | | 4070 | 244 | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4071 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4072 | 0 | scan_error::invalid_scanned_value, | 4073 | 0 | "Invalid infinite floating-point value")); | 4074 | 0 | } | 4075 | 244 | else if (r) { | 4076 | 0 | return *r; | 4077 | 0 | } | 4078 | | | 4079 | 244 | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4080 | 0 | return unexpected(r.error()); | 4081 | 0 | } | 4082 | 244 | else if (r) { | 4083 | 0 | return *r; | 4084 | 0 | } | 4085 | | | 4086 | 244 | if (allowed_hex && !allowed_nonhex) { | 4087 | | // only hex allowed: | 4088 | | // prefix "0x" allowed, not required | 4089 | 20 | auto it = range.begin(); | 4090 | | | 4091 | 20 | if (auto r = read_hex_prefix(range)) { | 4092 | 0 | m_kind = float_kind::hex_with_prefix; | 4093 | 0 | it = *r; | 4094 | 0 | } | 4095 | 20 | else { | 4096 | 20 | m_kind = float_kind::hex_without_prefix; | 4097 | 20 | } | 4098 | | | 4099 | 20 | return read_hex(ranges::subrange{it, range.end()}); | 4100 | 20 | } | 4101 | 224 | if (!allowed_hex && allowed_nonhex) { | 4102 | | // only nonhex allowed: | 4103 | | // no prefix allowed | 4104 | 12 | m_kind = float_kind::generic; | 4105 | 12 | return read_regular_float(range); | 4106 | 12 | } | 4107 | | // both hex and nonhex allowed: | 4108 | | // check for "0x" prefix -> hex, | 4109 | | // regular otherwise | 4110 | | | 4111 | 212 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4112 | 0 | m_kind = float_kind::hex_with_prefix; | 4113 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4114 | 0 | } | 4115 | | | 4116 | 212 | m_kind = float_kind::generic; | 4117 | 212 | return read_regular(range); | 4118 | 212 | } |
Unexecuted instantiation: _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E_ZNSC_ISB_EESL_SG_EUlSN_E0_EESL_SG_OT0_OT1_ _ZN3scn2v44impl12float_readerIwE19do_read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EERZNS3_16read_source_implISB_EENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_EUlRKSG_E1_SP_EESL_SG_OT0_OT1_ Line | Count | Source | 4064 | 1.06k | { | 4065 | 1.06k | const bool allowed_hex = (m_options & allow_hex) != 0; | 4066 | 1.06k | const bool allowed_nonhex = | 4067 | 1.06k | (m_options & ~static_cast<unsigned>(allow_thsep) & | 4068 | 1.06k | ~static_cast<unsigned>(allow_hex)) != 0; | 4069 | | | 4070 | 1.06k | if (auto r = read_inf(range); !r && m_kind != float_kind::tbd) { | 4071 | 0 | return r.transform_error(map_parse_error_to_scan_error( | 4072 | 0 | scan_error::invalid_scanned_value, | 4073 | 0 | "Invalid infinite floating-point value")); | 4074 | 0 | } | 4075 | 1.06k | else if (r) { | 4076 | 0 | return *r; | 4077 | 0 | } | 4078 | | | 4079 | 1.06k | if (auto r = read_nan(range); !r && m_kind != float_kind::tbd) { | 4080 | 0 | return unexpected(r.error()); | 4081 | 0 | } | 4082 | 1.06k | else if (r) { | 4083 | 0 | return *r; | 4084 | 0 | } | 4085 | | | 4086 | 1.06k | if (allowed_hex && !allowed_nonhex) { | 4087 | | // only hex allowed: | 4088 | | // prefix "0x" allowed, not required | 4089 | 72 | auto it = range.begin(); | 4090 | | | 4091 | 72 | if (auto r = read_hex_prefix(range)) { | 4092 | 0 | m_kind = float_kind::hex_with_prefix; | 4093 | 0 | it = *r; | 4094 | 0 | } | 4095 | 72 | else { | 4096 | 72 | m_kind = float_kind::hex_without_prefix; | 4097 | 72 | } | 4098 | | | 4099 | 72 | return read_hex(ranges::subrange{it, range.end()}); | 4100 | 72 | } | 4101 | 990 | if (!allowed_hex && allowed_nonhex) { | 4102 | | // only nonhex allowed: | 4103 | | // no prefix allowed | 4104 | 24 | m_kind = float_kind::generic; | 4105 | 24 | return read_regular_float(range); | 4106 | 24 | } | 4107 | | // both hex and nonhex allowed: | 4108 | | // check for "0x" prefix -> hex, | 4109 | | // regular otherwise | 4110 | | | 4111 | 966 | if (auto r = read_hex_prefix(range); SCN_UNLIKELY(r)) { | 4112 | 0 | m_kind = float_kind::hex_with_prefix; | 4113 | 0 | return read_hex(ranges::subrange{*r, range.end()}); | 4114 | 0 | } | 4115 | | | 4116 | 966 | m_kind = float_kind::generic; | 4117 | 966 | return read_regular(range); | 4118 | 966 | } |
|
4119 | | |
4120 | | void handle_separators() |
4121 | 1.97k | { |
4122 | 1.97k | if (m_locale_options.thousands_sep == 0 && |
4123 | 1.97k | m_locale_options.decimal_point == CharT{'.'}) { |
4124 | 1.97k | return; |
4125 | 1.97k | } |
4126 | | |
4127 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); |
4128 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { |
4129 | 0 | for (auto& ch : str) { |
4130 | 0 | if (ch == m_locale_options.decimal_point) { |
4131 | 0 | ch = CharT{'.'}; |
4132 | 0 | } |
4133 | 0 | } |
4134 | 0 | } |
4135 | |
|
4136 | 0 | if (m_locale_options.thousands_sep == 0) { |
4137 | 0 | return; |
4138 | 0 | } |
4139 | | |
4140 | 0 | auto first = |
4141 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); |
4142 | 0 | if (first == str.end()) { |
4143 | 0 | return; |
4144 | 0 | } |
4145 | | |
4146 | 0 | m_thsep_indices.push_back( |
4147 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); |
4148 | |
|
4149 | 0 | for (auto it = first; ++it != str.end();) { |
4150 | 0 | if (*it != m_locale_options.thousands_sep) { |
4151 | 0 | *first++ = std::move(*it); |
4152 | 0 | } |
4153 | 0 | else { |
4154 | 0 | m_thsep_indices.push_back( |
4155 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); |
4156 | 0 | } |
4157 | 0 | } |
4158 | |
|
4159 | 0 | str.erase(first, str.end()); |
4160 | 0 | } scn::v4::impl::float_reader<char>::handle_separators() Line | Count | Source | 4121 | 908 | { | 4122 | 908 | if (m_locale_options.thousands_sep == 0 && | 4123 | 908 | m_locale_options.decimal_point == CharT{'.'}) { | 4124 | 908 | return; | 4125 | 908 | } | 4126 | | | 4127 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4128 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4129 | 0 | for (auto& ch : str) { | 4130 | 0 | if (ch == m_locale_options.decimal_point) { | 4131 | 0 | ch = CharT{'.'}; | 4132 | 0 | } | 4133 | 0 | } | 4134 | 0 | } | 4135 | |
| 4136 | 0 | if (m_locale_options.thousands_sep == 0) { | 4137 | 0 | return; | 4138 | 0 | } | 4139 | | | 4140 | 0 | auto first = | 4141 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4142 | 0 | if (first == str.end()) { | 4143 | 0 | return; | 4144 | 0 | } | 4145 | | | 4146 | 0 | m_thsep_indices.push_back( | 4147 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4148 | |
| 4149 | 0 | for (auto it = first; ++it != str.end();) { | 4150 | 0 | if (*it != m_locale_options.thousands_sep) { | 4151 | 0 | *first++ = std::move(*it); | 4152 | 0 | } | 4153 | 0 | else { | 4154 | 0 | m_thsep_indices.push_back( | 4155 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4156 | 0 | } | 4157 | 0 | } | 4158 | |
| 4159 | 0 | str.erase(first, str.end()); | 4160 | 0 | } |
scn::v4::impl::float_reader<wchar_t>::handle_separators() Line | Count | Source | 4121 | 1.06k | { | 4122 | 1.06k | if (m_locale_options.thousands_sep == 0 && | 4123 | 1.06k | m_locale_options.decimal_point == CharT{'.'}) { | 4124 | 1.06k | return; | 4125 | 1.06k | } | 4126 | | | 4127 | 0 | auto& str = this->m_buffer.make_into_allocated_string(); | 4128 | 0 | if (m_locale_options.decimal_point != CharT{'.'}) { | 4129 | 0 | for (auto& ch : str) { | 4130 | 0 | if (ch == m_locale_options.decimal_point) { | 4131 | 0 | ch = CharT{'.'}; | 4132 | 0 | } | 4133 | 0 | } | 4134 | 0 | } | 4135 | |
| 4136 | 0 | if (m_locale_options.thousands_sep == 0) { | 4137 | 0 | return; | 4138 | 0 | } | 4139 | | | 4140 | 0 | auto first = | 4141 | 0 | std::find(str.begin(), str.end(), m_locale_options.thousands_sep); | 4142 | 0 | if (first == str.end()) { | 4143 | 0 | return; | 4144 | 0 | } | 4145 | | | 4146 | 0 | m_thsep_indices.push_back( | 4147 | 0 | static_cast<char>(ranges::distance(str.begin(), first))); | 4148 | |
| 4149 | 0 | for (auto it = first; ++it != str.end();) { | 4150 | 0 | if (*it != m_locale_options.thousands_sep) { | 4151 | 0 | *first++ = std::move(*it); | 4152 | 0 | } | 4153 | 0 | else { | 4154 | 0 | m_thsep_indices.push_back( | 4155 | 0 | static_cast<char>(ranges::distance(str.begin(), it))); | 4156 | 0 | } | 4157 | 0 | } | 4158 | |
| 4159 | 0 | str.erase(first, str.end()); | 4160 | 0 | } |
|
4161 | | |
4162 | | template <typename T> |
4163 | | T setsign(T value) const |
4164 | 100 | { |
4165 | 100 | if (m_sign == sign_type::minus_sign) { |
4166 | 0 | return std::copysign(value, static_cast<T>(-1.0)); |
4167 | 0 | } |
4168 | 100 | return std::copysign(value, static_cast<T>(1.0)); |
4169 | 100 | } Unexecuted instantiation: float scn::v4::impl::float_reader<char>::setsign<float>(float) const Unexecuted instantiation: float scn::v4::impl::float_reader<wchar_t>::setsign<float>(float) const Unexecuted instantiation: double scn::v4::impl::float_reader<char>::setsign<double>(double) const double scn::v4::impl::float_reader<wchar_t>::setsign<double>(double) const Line | Count | Source | 4164 | 100 | { | 4165 | 100 | if (m_sign == sign_type::minus_sign) { | 4166 | 0 | return std::copysign(value, static_cast<T>(-1.0)); | 4167 | 0 | } | 4168 | 100 | return std::copysign(value, static_cast<T>(1.0)); | 4169 | 100 | } |
Unexecuted instantiation: long double scn::v4::impl::float_reader<char>::setsign<long double>(long double) const Unexecuted instantiation: long double scn::v4::impl::float_reader<wchar_t>::setsign<long double>(long double) const |
4170 | | |
4171 | | template <typename T> |
4172 | | scan_expected<std::ptrdiff_t> parse_value_impl(T& value); |
4173 | | |
4174 | | localized_number_formatting_options<CharT> m_locale_options{}; |
4175 | | std::string m_thsep_indices{}; |
4176 | | contiguous_range_factory<CharT> m_nan_payload_buffer{}; |
4177 | | std::ptrdiff_t m_integral_part_length{-1}; |
4178 | | sign_type m_sign{sign_type::default_sign}; |
4179 | | float_kind m_kind{float_kind::tbd}; |
4180 | | }; |
4181 | | |
4182 | | #define SCN_DECLARE_FLOAT_READER_TEMPLATE(CharT, FloatT) \ |
4183 | | extern template auto float_reader<CharT>::parse_value_impl(FloatT&) \ |
4184 | | -> scan_expected<std::ptrdiff_t>; |
4185 | | |
4186 | | #if !SCN_DISABLE_TYPE_FLOAT |
4187 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, float) |
4188 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, float) |
4189 | | #endif |
4190 | | #if !SCN_DISABLE_TYPE_DOUBLE |
4191 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, double) |
4192 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, double) |
4193 | | #endif |
4194 | | #if !SCN_DISABLE_TYPE_LONG_DOUBLE |
4195 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, long double) |
4196 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, long double) |
4197 | | #endif |
4198 | | |
4199 | | #if SCN_HAS_STD_F16 && !SCN_DISABLE_TYPE_FLOAT16 |
4200 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, std::float16_t) |
4201 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, std::float16_t) |
4202 | | #endif |
4203 | | #if SCN_HAS_STD_F32 && !SCN_DISABLE_TYPE_FLOAT32 |
4204 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, std::float32_t) |
4205 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, std::float32_t) |
4206 | | #endif |
4207 | | #if SCN_HAS_STD_F64 && !SCN_DISABLE_TYPE_FLOAT64 |
4208 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, std::float64_t) |
4209 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, std::float64_t) |
4210 | | #endif |
4211 | | #if SCN_HAS_STD_F128 && !SCN_DISABLE_TYPE_FLOAT128 |
4212 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, std::float128_t) |
4213 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, std::float128_t) |
4214 | | #endif |
4215 | | #if SCN_HAS_STD_BF16 && !SCN_DISABLE_TYPE_BFLOAT16 |
4216 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(char, std::bfloat16_t) |
4217 | | SCN_DECLARE_FLOAT_READER_TEMPLATE(wchar_t, std::bfloat16_t) |
4218 | | #endif |
4219 | | |
4220 | | #undef SCN_DECLARE_FLOAT_READER_TEMPLATE |
4221 | | |
4222 | | template <typename CharT> |
4223 | | class reader_impl_for_float |
4224 | | : public reader_base<reader_impl_for_float<CharT>, CharT> { |
4225 | | public: |
4226 | | constexpr reader_impl_for_float() = default; |
4227 | | |
4228 | | void check_specs_impl(const detail::format_specs& specs, |
4229 | | reader_error_handler& eh) |
4230 | 4.57k | { |
4231 | 4.57k | detail::check_float_type_specs(specs, eh); |
4232 | 4.57k | } scn::v4::impl::reader_impl_for_float<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 4230 | 3.10k | { | 4231 | 3.10k | detail::check_float_type_specs(specs, eh); | 4232 | 3.10k | } |
scn::v4::impl::reader_impl_for_float<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 4230 | 1.47k | { | 4231 | 1.47k | detail::check_float_type_specs(specs, eh); | 4232 | 1.47k | } |
|
4233 | | |
4234 | | template <typename Range, typename T> |
4235 | | auto read_default(Range range, T& value, detail::locale_ref loc) |
4236 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4237 | 1.18k | { |
4238 | 1.18k | SCN_UNUSED(loc); |
4239 | | |
4240 | 1.18k | float_reader<CharT> rd{}; |
4241 | 1.18k | return read_impl<Range>( |
4242 | 1.18k | range, rd, |
4243 | 1.18k | [](float_reader<CharT>& r, auto&&... args) { |
4244 | 1.18k | return r.read_source(SCN_FWD(args)...); |
4245 | 1.18k | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4243 | 632 | [](float_reader<CharT>& r, auto&&... args) { | 4244 | 632 | return r.read_source(SCN_FWD(args)...); | 4245 | 632 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Line | Count | Source | 4243 | 556 | [](float_reader<CharT>& r, auto&&... args) { | 4244 | 556 | return r.read_source(SCN_FWD(args)...); | 4245 | 556 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SO_EEEDaSR_SU_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_SQ_EEEDaST_SW_ |
4246 | 1.18k | value); |
4247 | 1.18k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4237 | 632 | { | 4238 | 632 | SCN_UNUSED(loc); | 4239 | | | 4240 | 632 | float_reader<CharT> rd{}; | 4241 | 632 | return read_impl<Range>( | 4242 | 632 | range, rd, | 4243 | 632 | [](float_reader<CharT>& r, auto&&... args) { | 4244 | 632 | return r.read_source(SCN_FWD(args)...); | 4245 | 632 | }, | 4246 | 632 | value); | 4247 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Line | Count | Source | 4237 | 556 | { | 4238 | 556 | SCN_UNUSED(loc); | 4239 | | | 4240 | 556 | float_reader<CharT> rd{}; | 4241 | 556 | return read_impl<Range>( | 4242 | 556 | range, rd, | 4243 | 556 | [](float_reader<CharT>& r, auto&&... args) { | 4244 | 556 | return r.read_source(SCN_FWD(args)...); | 4245 | 556 | }, | 4246 | 556 | value); | 4247 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RT0_NS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RT0_NS9_10locale_refE |
4248 | | |
4249 | | template <typename Range, typename T> |
4250 | | auto read_specs(Range range, |
4251 | | const detail::format_specs& specs, |
4252 | | T& value, |
4253 | | detail::locale_ref loc) |
4254 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4255 | 1.44k | { |
4256 | 1.44k | float_reader<CharT> rd{get_options(specs)}; |
4257 | | |
4258 | 1.44k | #if !SCN_DISABLE_LOCALE |
4259 | 1.44k | if (specs.localized) { |
4260 | 54 | return read_impl<Range>( |
4261 | 54 | range, rd, |
4262 | 54 | [](float_reader<CharT>& r, auto&&... args) { |
4263 | 54 | return r.read_source_localized(SCN_FWD(args)...); |
4264 | 54 | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4262 | 12 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 12 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 12 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4262 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 6 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4262 | 16 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 16 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 16 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4262 | 20 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 20 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 20 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E_clIJSB_SR_EEEDaSU_SX_ |
4265 | 54 | value, loc); |
4266 | 54 | } |
4267 | 1.38k | #endif |
4268 | | |
4269 | 1.38k | return read_impl<Range>( |
4270 | 1.38k | range, rd, |
4271 | 1.38k | [](float_reader<CharT>& r, auto&&... args) { |
4272 | 1.38k | return r.read_source(SCN_FWD(args)...); |
4273 | 1.38k | }, Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4271 | 380 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 380 | return r.read_source(SCN_FWD(args)...); | 4273 | 380 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4271 | 292 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 292 | return r.read_source(SCN_FWD(args)...); | 4273 | 292 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIcEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Line | Count | Source | 4271 | 228 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 228 | return r.read_source(SCN_FWD(args)...); | 4273 | 228 | }, |
_ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ Line | Count | Source | 4271 | 486 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 486 | return r.read_source(SCN_FWD(args)...); | 4273 | 486 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSG_SV_EEEDaSY_S11_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSE_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSD_ST_EEEDaSW_SZ_ Unexecuted instantiation: _ZZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refEENKUlRNS1_12float_readerIwEEDpOT_E0_clIJSB_SR_EEEDaSU_SX_ |
4274 | 1.38k | value); |
4275 | 1.44k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4255 | 392 | { | 4256 | 392 | float_reader<CharT> rd{get_options(specs)}; | 4257 | | | 4258 | 392 | #if !SCN_DISABLE_LOCALE | 4259 | 392 | if (specs.localized) { | 4260 | 12 | return read_impl<Range>( | 4261 | 12 | range, rd, | 4262 | 12 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 12 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 12 | }, | 4265 | 12 | value, loc); | 4266 | 12 | } | 4267 | 380 | #endif | 4268 | | | 4269 | 380 | return read_impl<Range>( | 4270 | 380 | range, rd, | 4271 | 380 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 380 | return r.read_source(SCN_FWD(args)...); | 4273 | 380 | }, | 4274 | 380 | value); | 4275 | 392 | } |
_ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4255 | 298 | { | 4256 | 298 | float_reader<CharT> rd{get_options(specs)}; | 4257 | | | 4258 | 298 | #if !SCN_DISABLE_LOCALE | 4259 | 298 | if (specs.localized) { | 4260 | 6 | return read_impl<Range>( | 4261 | 6 | range, rd, | 4262 | 6 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 6 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 6 | }, | 4265 | 6 | value, loc); | 4266 | 6 | } | 4267 | 292 | #endif | 4268 | | | 4269 | 292 | return read_impl<Range>( | 4270 | 292 | range, rd, | 4271 | 292 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 292 | return r.read_source(SCN_FWD(args)...); | 4273 | 292 | }, | 4274 | 292 | value); | 4275 | 298 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Line | Count | Source | 4255 | 244 | { | 4256 | 244 | float_reader<CharT> rd{get_options(specs)}; | 4257 | | | 4258 | 244 | #if !SCN_DISABLE_LOCALE | 4259 | 244 | if (specs.localized) { | 4260 | 16 | return read_impl<Range>( | 4261 | 16 | range, rd, | 4262 | 16 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 16 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 16 | }, | 4265 | 16 | value, loc); | 4266 | 16 | } | 4267 | 228 | #endif | 4268 | | | 4269 | 228 | return read_impl<Range>( | 4270 | 228 | range, rd, | 4271 | 228 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 228 | return r.read_source(SCN_FWD(args)...); | 4273 | 228 | }, | 4274 | 228 | value); | 4275 | 244 | } |
_ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE Line | Count | Source | 4255 | 506 | { | 4256 | 506 | float_reader<CharT> rd{get_options(specs)}; | 4257 | | | 4258 | 506 | #if !SCN_DISABLE_LOCALE | 4259 | 506 | if (specs.localized) { | 4260 | 20 | return read_impl<Range>( | 4261 | 20 | range, rd, | 4262 | 20 | [](float_reader<CharT>& r, auto&&... args) { | 4263 | 20 | return r.read_source_localized(SCN_FWD(args)...); | 4264 | 20 | }, | 4265 | 20 | value, loc); | 4266 | 20 | } | 4267 | 486 | #endif | 4268 | | | 4269 | 486 | return read_impl<Range>( | 4270 | 486 | range, rd, | 4271 | 486 | [](float_reader<CharT>& r, auto&&... args) { | 4272 | 486 | return r.read_source(SCN_FWD(args)...); | 4273 | 486 | }, | 4274 | 486 | value); | 4275 | 506 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERT0_NSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERT0_NSL_10locale_refE |
4276 | | |
4277 | | private: |
4278 | | template <typename Range> |
4279 | | using read_source_callback_type = |
4280 | | scan_expected<ranges::const_iterator_t<Range>>(float_reader<CharT>&, |
4281 | | Range, |
4282 | | detail::locale_ref); |
4283 | | |
4284 | | template <typename Range, typename T> |
4285 | | scan_expected<ranges::const_iterator_t<Range>> read_impl( |
4286 | | Range range, |
4287 | | float_reader<CharT>& rd, |
4288 | | function_ref<read_source_callback_type<Range>> read_source_cb, |
4289 | | T& value, |
4290 | | detail::locale_ref loc = {}) |
4291 | 2.62k | { |
4292 | 2.62k | if (auto r = std::invoke(read_source_cb, rd, range, loc); |
4293 | 2.62k | SCN_UNLIKELY(!r)) { |
4294 | 658 | return unexpected(r.error()); |
4295 | 658 | } |
4296 | | |
4297 | 1.97k | SCN_TRY(n, rd.parse_value(value)); |
4298 | 100 | return ranges::next(range.begin(), n); |
4299 | 1.97k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4291 | 392 | { | 4292 | 392 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4293 | 392 | SCN_UNLIKELY(!r)) { | 4294 | 392 | return unexpected(r.error()); | 4295 | 392 | } | 4296 | | | 4297 | 0 | SCN_TRY(n, rd.parse_value(value)); | 4298 | 0 | return ranges::next(range.begin(), n); | 4299 | 0 | } |
_ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4291 | 930 | { | 4292 | 930 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4293 | 930 | SCN_UNLIKELY(!r)) { | 4294 | 22 | return unexpected(r.error()); | 4295 | 22 | } | 4296 | | | 4297 | 908 | SCN_TRY(n, rd.parse_value(value)); | 4298 | 0 | return ranges::next(range.begin(), n); | 4299 | 908 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIcEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIcEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIcEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIcEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEfEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEfEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEdEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Line | Count | Source | 4291 | 244 | { | 4292 | 244 | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4293 | 244 | SCN_UNLIKELY(!r)) { | 4294 | 224 | return unexpected(r.error()); | 4295 | 224 | } | 4296 | | | 4297 | 20 | SCN_TRY(n, rd.parse_value(value)); | 4298 | 20 | return ranges::next(range.begin(), n); | 4299 | 20 | } |
_ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEdEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ Line | Count | Source | 4291 | 1.06k | { | 4292 | 1.06k | if (auto r = std::invoke(read_source_cb, rd, range, loc); | 4293 | 1.06k | SCN_UNLIKELY(!r)) { | 4294 | 20 | return unexpected(r.error()); | 4295 | 20 | } | 4296 | | | 4297 | 1.04k | SCN_TRY(n, rd.parse_value(value)); | 4298 | 80 | return ranges::next(range.begin(), n); | 4299 | 1.04k | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNS1_12float_readerIwEENS1_12function_refIFSP_SS_SK_NSA_10locale_refEENS1_12fnref_detail11qual_fn_sigISV_E8functionEEERT0_SU_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNS1_12float_readerIwEENS1_12function_refIFSN_SQ_SI_NS9_10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEeEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNS1_12float_readerIwEENS1_12function_refIFSM_SP_SH_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigIST_E8functionEEERT0_SS_ Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_floatIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEeEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNS1_12float_readerIwEENS1_12function_refIFSK_SN_SF_NS0_6detail10locale_refEENS1_12fnref_detail11qual_fn_sigISR_E8functionEEERT0_SQ_ |
4300 | | |
4301 | | static unsigned get_options(const detail::format_specs& specs) |
4302 | 1.44k | { |
4303 | 1.44k | unsigned options{}; |
4304 | 1.44k | if (specs.localized) { |
4305 | 54 | options |= float_reader_base::allow_thsep; |
4306 | 54 | } |
4307 | | |
4308 | 1.44k | SCN_GCC_COMPAT_PUSH |
4309 | 1.44k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
4310 | | |
4311 | 1.44k | switch (specs.type) { |
4312 | 48 | case detail::presentation_type::float_fixed: |
4313 | 48 | return options | float_reader_base::allow_fixed; |
4314 | | |
4315 | 22 | case detail::presentation_type::float_scientific: |
4316 | 22 | return options | float_reader_base::allow_scientific; |
4317 | | |
4318 | 108 | case detail::presentation_type::float_hex: |
4319 | 108 | return options | float_reader_base::allow_hex; |
4320 | | |
4321 | 18 | case detail::presentation_type::float_general: |
4322 | 18 | return options | float_reader_base::allow_scientific | |
4323 | 18 | float_reader_base::allow_fixed; |
4324 | | |
4325 | 1.24k | case detail::presentation_type::none: |
4326 | 1.24k | return options | float_reader_base::allow_scientific | |
4327 | 1.24k | float_reader_base::allow_fixed | |
4328 | 1.24k | float_reader_base::allow_hex; |
4329 | | |
4330 | 0 | default: |
4331 | 0 | SCN_EXPECT(false); |
4332 | 1.44k | SCN_UNREACHABLE; |
4333 | 1.44k | } |
4334 | | |
4335 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
4336 | 1.44k | } scn::v4::impl::reader_impl_for_float<char>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 4302 | 690 | { | 4303 | 690 | unsigned options{}; | 4304 | 690 | if (specs.localized) { | 4305 | 18 | options |= float_reader_base::allow_thsep; | 4306 | 18 | } | 4307 | | | 4308 | 690 | SCN_GCC_COMPAT_PUSH | 4309 | 690 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4310 | | | 4311 | 690 | switch (specs.type) { | 4312 | 28 | case detail::presentation_type::float_fixed: | 4313 | 28 | return options | float_reader_base::allow_fixed; | 4314 | | | 4315 | 12 | case detail::presentation_type::float_scientific: | 4316 | 12 | return options | float_reader_base::allow_scientific; | 4317 | | | 4318 | 16 | case detail::presentation_type::float_hex: | 4319 | 16 | return options | float_reader_base::allow_hex; | 4320 | | | 4321 | 12 | case detail::presentation_type::float_general: | 4322 | 12 | return options | float_reader_base::allow_scientific | | 4323 | 12 | float_reader_base::allow_fixed; | 4324 | | | 4325 | 622 | case detail::presentation_type::none: | 4326 | 622 | return options | float_reader_base::allow_scientific | | 4327 | 622 | float_reader_base::allow_fixed | | 4328 | 622 | float_reader_base::allow_hex; | 4329 | | | 4330 | 0 | default: | 4331 | 0 | SCN_EXPECT(false); | 4332 | 690 | SCN_UNREACHABLE; | 4333 | 690 | } | 4334 | | | 4335 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4336 | 690 | } |
scn::v4::impl::reader_impl_for_float<wchar_t>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 4302 | 750 | { | 4303 | 750 | unsigned options{}; | 4304 | 750 | if (specs.localized) { | 4305 | 36 | options |= float_reader_base::allow_thsep; | 4306 | 36 | } | 4307 | | | 4308 | 750 | SCN_GCC_COMPAT_PUSH | 4309 | 750 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 4310 | | | 4311 | 750 | switch (specs.type) { | 4312 | 20 | case detail::presentation_type::float_fixed: | 4313 | 20 | return options | float_reader_base::allow_fixed; | 4314 | | | 4315 | 10 | case detail::presentation_type::float_scientific: | 4316 | 10 | return options | float_reader_base::allow_scientific; | 4317 | | | 4318 | 92 | case detail::presentation_type::float_hex: | 4319 | 92 | return options | float_reader_base::allow_hex; | 4320 | | | 4321 | 6 | case detail::presentation_type::float_general: | 4322 | 6 | return options | float_reader_base::allow_scientific | | 4323 | 6 | float_reader_base::allow_fixed; | 4324 | | | 4325 | 622 | case detail::presentation_type::none: | 4326 | 622 | return options | float_reader_base::allow_scientific | | 4327 | 622 | float_reader_base::allow_fixed | | 4328 | 622 | float_reader_base::allow_hex; | 4329 | | | 4330 | 0 | default: | 4331 | 0 | SCN_EXPECT(false); | 4332 | 750 | SCN_UNREACHABLE; | 4333 | 750 | } | 4334 | | | 4335 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 4336 | 750 | } |
|
4337 | | }; |
4338 | | |
4339 | | ///////////////////////////////////////////////////////////////// |
4340 | | // Regex reader |
4341 | | ///////////////////////////////////////////////////////////////// |
4342 | | |
4343 | | // Forward declaration for C++17 compatibility with regex disabled |
4344 | | template <typename CharT, typename Input> |
4345 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4346 | | detail::regex_flags flags, |
4347 | | Input input, |
4348 | | basic_regex_matches<CharT>& value) |
4349 | | -> scan_expected<ranges::iterator_t<Input>>; |
4350 | | |
4351 | | #if !SCN_DISABLE_REGEX |
4352 | | |
4353 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4354 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4355 | | -> scan_expected<std::regex_constants::syntax_option_type> |
4356 | | { |
4357 | | std::regex_constants::syntax_option_type result{}; |
4358 | | if ((flags & detail::regex_flags::multiline) != detail::regex_flags::none) { |
4359 | | #if SCN_HAS_STD_REGEX_MULTILINE |
4360 | | result |= std::regex_constants::multiline; |
4361 | | #else |
4362 | | return detail::unexpected_scan_error( |
4363 | | scan_error::invalid_format_string, |
4364 | | "/m flag for regex isn't supported by regex backend"); |
4365 | | #endif |
4366 | | } |
4367 | | if ((flags & detail::regex_flags::singleline) != |
4368 | | detail::regex_flags::none) { |
4369 | | return detail::unexpected_scan_error( |
4370 | | scan_error::invalid_format_string, |
4371 | | "/s flag for regex isn't supported by regex backend"); |
4372 | | } |
4373 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4374 | | result |= std::regex_constants::icase; |
4375 | | } |
4376 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4377 | | result |= std::regex_constants::nosubs; |
4378 | | } |
4379 | | return result; |
4380 | | } |
4381 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4382 | | constexpr auto make_regex_flags(detail::regex_flags flags) |
4383 | | -> boost::regex_constants::syntax_option_type |
4384 | | { |
4385 | | boost::regex_constants::syntax_option_type result{}; |
4386 | | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4387 | | result |= boost::regex_constants::no_mod_m; |
4388 | | } |
4389 | | if ((flags & detail::regex_flags::singleline) != |
4390 | | detail::regex_flags::none) { |
4391 | | result |= boost::regex_constants::mod_s; |
4392 | | } |
4393 | | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4394 | | result |= boost::regex_constants::icase; |
4395 | | } |
4396 | | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4397 | | result |= boost::regex_constants::nosubs; |
4398 | | } |
4399 | | return result; |
4400 | | } |
4401 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4402 | | inline auto make_regex_flags(detail::regex_flags flags) |
4403 | | -> std::pair<RE2::Options, std::string_view> |
4404 | 456 | { |
4405 | 456 | RE2::Options opt{RE2::Quiet}; |
4406 | 456 | std::string_view stringflags{}; |
4407 | | |
4408 | 456 | if ((flags & detail::regex_flags::multiline) == detail::regex_flags::none) { |
4409 | 444 | stringflags = "(?m)"; |
4410 | 444 | } |
4411 | 456 | if ((flags & detail::regex_flags::singleline) != |
4412 | 456 | detail::regex_flags::none) { |
4413 | 6 | opt.set_dot_nl(true); |
4414 | 6 | } |
4415 | 456 | if ((flags & detail::regex_flags::nocase) != detail::regex_flags::none) { |
4416 | 6 | opt.set_case_sensitive(false); |
4417 | 6 | } |
4418 | 456 | if ((flags & detail::regex_flags::nocapture) != detail::regex_flags::none) { |
4419 | 6 | opt.set_never_capture(true); |
4420 | 6 | } |
4421 | | |
4422 | 456 | return {opt, stringflags}; |
4423 | 456 | } |
4424 | | #endif // SCN_REGEX_BACKEND == ... |
4425 | | |
4426 | | template <typename CharT, typename Input> |
4427 | | auto read_regex_string_impl(std::basic_string_view<CharT> pattern, |
4428 | | detail::regex_flags flags, |
4429 | | Input input) |
4430 | | -> scan_expected<ranges::iterator_t<Input>> |
4431 | 456 | { |
4432 | 456 | static_assert(ranges::contiguous_range<Input> && |
4433 | 456 | ranges::borrowed_range<Input> && |
4434 | 456 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4435 | | |
4436 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4437 | | std::basic_regex<CharT> re{}; |
4438 | | try { |
4439 | | SCN_TRY(re_flags, make_regex_flags(flags)); |
4440 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), |
4441 | | re_flags | std::regex_constants::nosubs}; |
4442 | | } |
4443 | | catch (const std::regex_error& err) { |
4444 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4445 | | "Invalid regex"); |
4446 | | } |
4447 | | |
4448 | | std::match_results<const CharT*> matches{}; |
4449 | | try { |
4450 | | bool found = std::regex_search(input.data(), |
4451 | | input.data() + input.size(), matches, re, |
4452 | | std::regex_constants::match_continuous); |
4453 | | if (!found || matches.prefix().matched) { |
4454 | | return detail::unexpected_scan_error( |
4455 | | scan_error::invalid_scanned_value, |
4456 | | "Regular expression didn't match"); |
4457 | | } |
4458 | | } |
4459 | | catch (const std::regex_error& err) { |
4460 | | return detail::unexpected_scan_error( |
4461 | | scan_error::invalid_format_string, |
4462 | | "Regex matching failed with an error"); |
4463 | | } |
4464 | | |
4465 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4466 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4467 | | auto re = |
4468 | | #if SCN_REGEX_BOOST_USE_ICU |
4469 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), |
4470 | | make_regex_flags(flags) | |
4471 | | boost::regex_constants::no_except | |
4472 | | boost::regex_constants::nosubs); |
4473 | | #else |
4474 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), |
4475 | | make_regex_flags(flags) | |
4476 | | boost::regex_constants::no_except | |
4477 | | boost::regex_constants::nosubs}; |
4478 | | #endif |
4479 | | if (re.status() != 0) { |
4480 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4481 | | "Invalid regex"); |
4482 | | } |
4483 | | |
4484 | | boost::match_results<const CharT*> matches{}; |
4485 | | try { |
4486 | | bool found = |
4487 | | #if SCN_REGEX_BOOST_USE_ICU |
4488 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4489 | | matches, re, |
4490 | | boost::regex_constants::match_continuous); |
4491 | | #else |
4492 | | boost::regex_search(input.data(), input.data() + input.size(), |
4493 | | matches, re, |
4494 | | boost::regex_constants::match_continuous); |
4495 | | #endif |
4496 | | if (!found || matches.prefix().matched) { |
4497 | | return detail::unexpected_scan_error( |
4498 | | scan_error::invalid_scanned_value, |
4499 | | "Regular expression didn't match"); |
4500 | | } |
4501 | | } |
4502 | | catch (const std::runtime_error& err) { |
4503 | | return detail::unexpected_scan_error( |
4504 | | scan_error::invalid_format_string, |
4505 | | "Regex matching failed with an error"); |
4506 | | } |
4507 | | |
4508 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4509 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4510 | | static_assert(std::is_same_v<CharT, char>); |
4511 | 456 | std::string flagged_pattern{}; |
4512 | 456 | auto re = [&]() { |
4513 | 456 | auto [opts, flagstr] = make_regex_flags(flags); |
4514 | 456 | opts.set_never_capture(true); |
4515 | 456 | if (flagstr.empty()) { |
4516 | 12 | return re2::RE2{pattern, opts}; |
4517 | 12 | } |
4518 | 444 | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4519 | 444 | flagged_pattern.append(flagstr); |
4520 | 444 | flagged_pattern.append(pattern); |
4521 | 444 | return re2::RE2{flagged_pattern, opts}; |
4522 | 456 | }(); Unexecuted instantiation: _ZZN3scn2v44impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ENKUlvE_clEv _ZZN3scn2v44impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ENKUlvE_clEv Line | Count | Source | 4512 | 456 | auto re = [&]() { | 4513 | 456 | auto [opts, flagstr] = make_regex_flags(flags); | 4514 | 456 | opts.set_never_capture(true); | 4515 | 456 | if (flagstr.empty()) { | 4516 | 12 | return re2::RE2{pattern, opts}; | 4517 | 12 | } | 4518 | 444 | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4519 | 444 | flagged_pattern.append(flagstr); | 4520 | 444 | flagged_pattern.append(pattern); | 4521 | 444 | return re2::RE2{flagged_pattern, opts}; | 4522 | 456 | }(); |
|
4523 | 456 | if (!re.ok()) { |
4524 | 186 | return detail::unexpected_scan_error( |
4525 | 186 | scan_error::invalid_format_string, |
4526 | 186 | "Failed to parse regular expression"); |
4527 | 186 | } |
4528 | | |
4529 | 270 | auto new_input = detail::make_string_view_from_pointers( |
4530 | 270 | detail::to_address(input.begin()), detail::to_address(input.end())); |
4531 | 270 | bool found = re2::RE2::Consume(&new_input, re); |
4532 | 270 | if (!found) { |
4533 | 180 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, |
4534 | 180 | "Regular expression didn't match"); |
4535 | 180 | } |
4536 | 90 | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4537 | 270 | #endif // SCN_REGEX_BACKEND == ... |
4538 | 270 | } Unexecuted instantiation: _ZN3scn2v44impl22read_regex_string_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_ _ZN3scn2v44impl22read_regex_string_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_ Line | Count | Source | 4431 | 456 | { | 4432 | 456 | static_assert(ranges::contiguous_range<Input> && | 4433 | 456 | ranges::borrowed_range<Input> && | 4434 | 456 | std::is_same_v<ranges::range_value_t<Input>, CharT>); | 4435 | | | 4436 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD | 4437 | | std::basic_regex<CharT> re{}; | 4438 | | try { | 4439 | | SCN_TRY(re_flags, make_regex_flags(flags)); | 4440 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), | 4441 | | re_flags | std::regex_constants::nosubs}; | 4442 | | } | 4443 | | catch (const std::regex_error& err) { | 4444 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4445 | | "Invalid regex"); | 4446 | | } | 4447 | | | 4448 | | std::match_results<const CharT*> matches{}; | 4449 | | try { | 4450 | | bool found = std::regex_search(input.data(), | 4451 | | input.data() + input.size(), matches, re, | 4452 | | std::regex_constants::match_continuous); | 4453 | | if (!found || matches.prefix().matched) { | 4454 | | return detail::unexpected_scan_error( | 4455 | | scan_error::invalid_scanned_value, | 4456 | | "Regular expression didn't match"); | 4457 | | } | 4458 | | } | 4459 | | catch (const std::regex_error& err) { | 4460 | | return detail::unexpected_scan_error( | 4461 | | scan_error::invalid_format_string, | 4462 | | "Regex matching failed with an error"); | 4463 | | } | 4464 | | | 4465 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4466 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST | 4467 | | auto re = | 4468 | | #if SCN_REGEX_BOOST_USE_ICU | 4469 | | boost::make_u32regex(pattern.data(), pattern.data() + pattern.size(), | 4470 | | make_regex_flags(flags) | | 4471 | | boost::regex_constants::no_except | | 4472 | | boost::regex_constants::nosubs); | 4473 | | #else | 4474 | | boost::basic_regex<CharT>{pattern.data(), pattern.size(), | 4475 | | make_regex_flags(flags) | | 4476 | | boost::regex_constants::no_except | | 4477 | | boost::regex_constants::nosubs}; | 4478 | | #endif | 4479 | | if (re.status() != 0) { | 4480 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4481 | | "Invalid regex"); | 4482 | | } | 4483 | | | 4484 | | boost::match_results<const CharT*> matches{}; | 4485 | | try { | 4486 | | bool found = | 4487 | | #if SCN_REGEX_BOOST_USE_ICU | 4488 | | boost::u32regex_search(input.data(), input.data() + input.size(), | 4489 | | matches, re, | 4490 | | boost::regex_constants::match_continuous); | 4491 | | #else | 4492 | | boost::regex_search(input.data(), input.data() + input.size(), | 4493 | | matches, re, | 4494 | | boost::regex_constants::match_continuous); | 4495 | | #endif | 4496 | | if (!found || matches.prefix().matched) { | 4497 | | return detail::unexpected_scan_error( | 4498 | | scan_error::invalid_scanned_value, | 4499 | | "Regular expression didn't match"); | 4500 | | } | 4501 | | } | 4502 | | catch (const std::runtime_error& err) { | 4503 | | return detail::unexpected_scan_error( | 4504 | | scan_error::invalid_format_string, | 4505 | | "Regex matching failed with an error"); | 4506 | | } | 4507 | | | 4508 | | return input.begin() + ranges::distance(input.data(), matches[0].second); | 4509 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 | 4510 | | static_assert(std::is_same_v<CharT, char>); | 4511 | 456 | std::string flagged_pattern{}; | 4512 | 456 | auto re = [&]() { | 4513 | 456 | auto [opts, flagstr] = make_regex_flags(flags); | 4514 | 456 | opts.set_never_capture(true); | 4515 | 456 | if (flagstr.empty()) { | 4516 | 456 | return re2::RE2{pattern, opts}; | 4517 | 456 | } | 4518 | 456 | flagged_pattern.reserve(flagstr.size() + pattern.size()); | 4519 | 456 | flagged_pattern.append(flagstr); | 4520 | 456 | flagged_pattern.append(pattern); | 4521 | 456 | return re2::RE2{flagged_pattern, opts}; | 4522 | 456 | }(); | 4523 | 456 | if (!re.ok()) { | 4524 | 186 | return detail::unexpected_scan_error( | 4525 | 186 | scan_error::invalid_format_string, | 4526 | 186 | "Failed to parse regular expression"); | 4527 | 186 | } | 4528 | | | 4529 | 270 | auto new_input = detail::make_string_view_from_pointers( | 4530 | 270 | detail::to_address(input.begin()), detail::to_address(input.end())); | 4531 | 270 | bool found = re2::RE2::Consume(&new_input, re); | 4532 | 270 | if (!found) { | 4533 | 180 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, | 4534 | 180 | "Regular expression didn't match"); | 4535 | 180 | } | 4536 | 90 | return input.begin() + ranges::distance(input.data(), new_input.data()); | 4537 | 270 | #endif // SCN_REGEX_BACKEND == ... | 4538 | 270 | } |
|
4539 | | |
4540 | | template <typename CharT, typename Input> |
4541 | | auto read_regex_matches_impl(std::basic_string_view<CharT> pattern, |
4542 | | detail::regex_flags flags, |
4543 | | Input input, |
4544 | | basic_regex_matches<CharT>& value) |
4545 | | -> scan_expected<ranges::iterator_t<Input>> |
4546 | 0 | { |
4547 | 0 | static_assert(ranges::contiguous_range<Input> && |
4548 | 0 | ranges::borrowed_range<Input> && |
4549 | 0 | std::is_same_v<ranges::range_value_t<Input>, CharT>); |
4550 | |
|
4551 | | #if SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_STD |
4552 | | std::basic_regex<CharT> re{}; |
4553 | | try { |
4554 | | SCN_TRY(re_flags, make_regex_flags(flags)); |
4555 | | re = std::basic_regex<CharT>{pattern.data(), pattern.size(), re_flags}; |
4556 | | } |
4557 | | catch (const std::regex_error& err) { |
4558 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4559 | | "Invalid regex"); |
4560 | | } |
4561 | | |
4562 | | std::match_results<const CharT*> matches{}; |
4563 | | try { |
4564 | | bool found = std::regex_search(input.data(), |
4565 | | input.data() + input.size(), matches, re, |
4566 | | std::regex_constants::match_continuous); |
4567 | | if (!found || matches.prefix().matched) { |
4568 | | return detail::unexpected_scan_error( |
4569 | | scan_error::invalid_scanned_value, |
4570 | | "Regular expression didn't match"); |
4571 | | } |
4572 | | } |
4573 | | catch (const std::regex_error& err) { |
4574 | | return detail::unexpected_scan_error( |
4575 | | scan_error::invalid_format_string, |
4576 | | "Regex matching failed with an error"); |
4577 | | } |
4578 | | |
4579 | | value.resize(matches.size()); |
4580 | | std::transform(matches.begin(), matches.end(), value.begin(), |
4581 | | [](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4582 | | if (!match.matched) |
4583 | | return std::nullopt; |
4584 | | return detail::make_string_view_from_pointers( |
4585 | | match.first, match.second); |
4586 | | }); |
4587 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4588 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_BOOST |
4589 | | std::vector<std::basic_string<CharT>> names; |
4590 | | for (size_t i = 0; i < pattern.size();) { |
4591 | | if constexpr (std::is_same_v<CharT, char>) { |
4592 | | i = pattern.find("(?<", i); |
4593 | | } |
4594 | | else { |
4595 | | i = pattern.find(L"(?<", i); |
4596 | | } |
4597 | | |
4598 | | if (i == std::basic_string_view<CharT>::npos) { |
4599 | | break; |
4600 | | } |
4601 | | if (i > 0 && pattern[i - 1] == CharT{'\\'}) { |
4602 | | if (i == 1 || pattern[i - 2] != CharT{'\\'}) { |
4603 | | i += 3; |
4604 | | continue; |
4605 | | } |
4606 | | } |
4607 | | |
4608 | | i += 3; |
4609 | | auto end_i = pattern.find(CharT{'>'}, i); |
4610 | | if (end_i == std::basic_string_view<CharT>::npos) { |
4611 | | break; |
4612 | | } |
4613 | | names.emplace_back(pattern.substr(i, end_i - i)); |
4614 | | } |
4615 | | |
4616 | | auto re = |
4617 | | #if SCN_REGEX_BOOST_USE_ICU |
4618 | | boost::make_u32regex( |
4619 | | pattern.data(), pattern.data() + pattern.size(), |
4620 | | make_regex_flags(flags) | boost::regex_constants::no_except); |
4621 | | #else |
4622 | | boost::basic_regex<CharT>{ |
4623 | | pattern.data(), pattern.size(), |
4624 | | make_regex_flags(flags) | boost::regex_constants::no_except}; |
4625 | | #endif |
4626 | | if (re.status() != 0) { |
4627 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4628 | | "Invalid regex"); |
4629 | | } |
4630 | | |
4631 | | boost::match_results<const CharT*> matches{}; |
4632 | | try { |
4633 | | bool found = |
4634 | | #if SCN_REGEX_BOOST_USE_ICU |
4635 | | boost::u32regex_search(input.data(), input.data() + input.size(), |
4636 | | matches, re, |
4637 | | boost::regex_constants::match_continuous); |
4638 | | #else |
4639 | | boost::regex_search(input.data(), input.data() + input.size(), |
4640 | | matches, re, |
4641 | | boost::regex_constants::match_continuous); |
4642 | | #endif |
4643 | | if (!found || matches.prefix().matched) { |
4644 | | return detail::unexpected_scan_error( |
4645 | | scan_error::invalid_scanned_value, |
4646 | | "Regular expression didn't match"); |
4647 | | } |
4648 | | } |
4649 | | catch (const std::runtime_error& err) { |
4650 | | return detail::unexpected_scan_error( |
4651 | | scan_error::invalid_format_string, |
4652 | | "Regex matching failed with an error"); |
4653 | | } |
4654 | | |
4655 | | value.resize(matches.size()); |
4656 | | std::transform( |
4657 | | matches.begin(), matches.end(), value.begin(), |
4658 | | [&](auto&& match) -> std::optional<basic_regex_match<CharT>> { |
4659 | | if (!match.matched) |
4660 | | return std::nullopt; |
4661 | | auto sv = detail::make_string_view_from_pointers(match.first, |
4662 | | match.second); |
4663 | | |
4664 | | if (auto name_it = std::find_if( |
4665 | | names.begin(), names.end(), |
4666 | | [&](const auto& name) { return match == matches[name]; }); |
4667 | | name_it != names.end()) { |
4668 | | return basic_regex_match<CharT>{sv, *name_it}; |
4669 | | } |
4670 | | return sv; |
4671 | | }); |
4672 | | return input.begin() + ranges::distance(input.data(), matches[0].second); |
4673 | | #elif SCN_REGEX_BACKEND == SCN_REGEX_BACKEND_RE2 |
4674 | | static_assert(std::is_same_v<CharT, char>); |
4675 | 0 | std::string flagged_pattern{}; |
4676 | 0 | auto re = [&]() { |
4677 | 0 | auto [opts, flagstr] = make_regex_flags(flags); |
4678 | 0 | if (flagstr.empty()) { |
4679 | 0 | return re2::RE2{pattern, opts}; |
4680 | 0 | } |
4681 | 0 | flagged_pattern.reserve(flagstr.size() + pattern.size()); |
4682 | 0 | flagged_pattern.append(flagstr); |
4683 | 0 | flagged_pattern.append(pattern); |
4684 | 0 | return re2::RE2{flagged_pattern, opts}; |
4685 | 0 | }(); Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlvE_clEv |
4686 | 0 | if (!re.ok()) { |
4687 | 0 | return detail::unexpected_scan_error( |
4688 | 0 | scan_error::invalid_format_string, |
4689 | 0 | "Failed to parse regular expression"); |
4690 | 0 | } |
4691 | | // TODO: Optimize into a single batch allocation |
4692 | 0 | const auto max_matches_n = |
4693 | 0 | static_cast<size_t>(re.NumberOfCapturingGroups()); |
4694 | 0 | std::vector<std::optional<std::string_view>> matches(max_matches_n); |
4695 | 0 | std::vector<re2::RE2::Arg> match_args(max_matches_n); |
4696 | 0 | std::vector<re2::RE2::Arg*> match_argptrs(max_matches_n); |
4697 | 0 | std::transform(matches.begin(), matches.end(), match_args.begin(), |
4698 | 0 | [](auto& val) { return re2::RE2::Arg{&val}; });Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlRSE_E_clINS3_8optionalIS7_EEEEDaSM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlRSH_E_clINSF_8optionalINSG_IcNSI_IcEEEEEEEEDaSQ_ |
4699 | 0 | std::transform(match_args.begin(), match_args.end(), match_argptrs.begin(), |
4700 | 0 | [](auto& arg) { return &arg; });Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlRSE_E0_clIN3re23RE23ArgEEEDaSM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlRSH_E0_clIN3re23RE23ArgEEEDaSQ_ |
4701 | 0 | auto new_input = detail::make_string_view_from_pointers( |
4702 | 0 | detail::to_address(input.begin()), detail::to_address(input.end())); |
4703 | 0 | bool found = re2::RE2::ConsumeN(&new_input, re, match_argptrs.data(), |
4704 | 0 | match_argptrs.size()); |
4705 | 0 | if (!found) { |
4706 | 0 | return detail::unexpected_scan_error(scan_error::invalid_scanned_value, |
4707 | 0 | "Regular expression didn't match"); |
4708 | 0 | } |
4709 | 0 | value.resize(matches.size() + 1); |
4710 | 0 | value[0] = |
4711 | 0 | detail::make_string_view_from_pointers(input.data(), new_input.data()); |
4712 | 0 | std::transform(matches.begin(), matches.end(), value.begin() + 1, |
4713 | 0 | [&](auto&& match) -> std::optional<regex_match> { |
4714 | 0 | if (!match) |
4715 | 0 | return std::nullopt; |
4716 | 0 | return *match; |
4717 | 0 | }); Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EEENKUlOSE_E_clIRNS3_8optionalIS7_EEEENSP_INS0_17basic_regex_matchIcEEEESM_ Unexecuted instantiation: _ZZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EEENKUlOSH_E_clIRNSF_8optionalINSG_IcNSI_IcEEEEEEEENST_INS0_17basic_regex_matchIcEEEESQ_ |
4718 | 0 | { |
4719 | 0 | const auto& capturing_groups = re.CapturingGroupNames(); |
4720 | 0 | for (size_t i = 1; i < value.size(); ++i) { |
4721 | 0 | if (auto it = capturing_groups.find(static_cast<int>(i)); |
4722 | 0 | it != capturing_groups.end()) { |
4723 | 0 | auto val = value[i]->get(); |
4724 | 0 | value[i].emplace(val, it->second); |
4725 | 0 | }; |
4726 | 0 | } |
4727 | 0 | } |
4728 | 0 | return input.begin() + ranges::distance(input.data(), new_input.data()); |
4729 | 0 | #endif // SCN_REGEX_BACKEND == ... |
4730 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl23read_regex_matches_implIcNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEENS4_IT_NS5_ISE_EEEENS0_6detail11regex_flagsESA_RNS0_19basic_regex_matchesISE_EE Unexecuted instantiation: _ZN3scn2v44impl23read_regex_matches_implIcNS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT0_EEEEEENSt3__117basic_string_viewIT_NSF_11char_traitsISH_EEEENS0_6detail11regex_flagsESB_RNS0_19basic_regex_matchesISH_EE |
4731 | | |
4732 | | inline std::string get_unescaped_regex_pattern(std::string_view pattern) |
4733 | 1.16k | { |
4734 | 1.16k | std::string result{pattern}; |
4735 | 9.00k | for (size_t n = 0; (n = result.find("\\/", n)) != std::string::npos;) { |
4736 | 7.84k | result.replace(n, 2, "/"); |
4737 | 7.84k | ++n; |
4738 | 7.84k | } |
4739 | 1.16k | return result; |
4740 | 1.16k | } |
4741 | | inline std::wstring get_unescaped_regex_pattern(std::wstring_view pattern) |
4742 | 0 | { |
4743 | 0 | std::wstring result{pattern}; |
4744 | 0 | for (size_t n = 0; (n = result.find(L"\\/", n)) != std::wstring::npos;) { |
4745 | 0 | result.replace(n, 2, L"/"); |
4746 | 0 | ++n; |
4747 | 0 | } |
4748 | 0 | return result; |
4749 | 0 | } |
4750 | | |
4751 | | template <typename SourceCharT> |
4752 | | struct regex_matches_reader |
4753 | | : public reader_base<regex_matches_reader<SourceCharT>, SourceCharT> { |
4754 | | void check_specs_impl(const detail::format_specs& specs, |
4755 | | reader_error_handler& eh) |
4756 | 0 | { |
4757 | 0 | detail::check_regex_type_specs(specs, eh); |
4758 | 0 | SCN_EXPECT(specs.charset_string_data != nullptr); |
4759 | 0 | SCN_EXPECT(specs.charset_string_size > 0); |
4760 | 0 | } Unexecuted instantiation: scn::v4::impl::regex_matches_reader<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Unexecuted instantiation: scn::v4::impl::regex_matches_reader<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) |
4761 | | |
4762 | | template <typename Range, typename DestCharT> |
4763 | | auto read_default(Range, |
4764 | | basic_regex_matches<DestCharT>&, |
4765 | | detail::locale_ref = {}) |
4766 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4767 | | { |
4768 | | return detail::unexpected_scan_error( |
4769 | | scan_error::invalid_format_string, |
4770 | | "No regex given in format string for scanning regex_matches"); |
4771 | | } |
4772 | | |
4773 | | template <typename Range, typename DestCharT> |
4774 | | auto read_specs(Range range, |
4775 | | const detail::format_specs& specs, |
4776 | | basic_regex_matches<DestCharT>& value, |
4777 | | detail::locale_ref = {}) |
4778 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4779 | 0 | { |
4780 | 0 | if constexpr (!std::is_same_v<SourceCharT, DestCharT>) { |
4781 | 0 | return detail::unexpected_scan_error( |
4782 | 0 | scan_error::invalid_format_string, |
4783 | 0 | "Cannot transcode is regex_matches_reader"); |
4784 | | } |
4785 | | else if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
4786 | 0 | !std::is_same_v<SourceCharT, char>) { |
4787 | 0 | return detail::unexpected_scan_error( |
4788 | 0 | scan_error::invalid_format_string, |
4789 | 0 | "Regex backend doesn't support wide strings as input"); |
4790 | | } |
4791 | 0 | else { |
4792 | 0 | if (!is_entire_source_contiguous(range)) { |
4793 | 0 | return detail::unexpected_scan_error( |
4794 | 0 | scan_error::invalid_format_string, |
4795 | 0 | "Cannot use regex with a non-contiguous source " |
4796 | 0 | "range"); |
4797 | 0 | } |
4798 | | |
4799 | 0 | auto input = get_as_contiguous(range); |
4800 | 0 | SCN_TRY(it, |
4801 | 0 | impl(input, |
4802 | 0 | specs.type == detail::presentation_type::regex_escaped, |
4803 | 0 | specs.charset_string<SourceCharT>(), |
4804 | 0 | specs.regexp_flags, value)); |
4805 | 0 | return ranges::next(range.begin(), |
4806 | 0 | ranges::distance(input.begin(), it)); |
4807 | 0 | } |
4808 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNS0_19basic_regex_matchesIT0_EENSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNS0_19basic_regex_matchesIT0_EENS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20regex_matches_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNS0_19basic_regex_matchesIT0_EENSL_10locale_refE |
4809 | | |
4810 | | private: |
4811 | | template <typename Range, typename DestCharT> |
4812 | | auto impl(Range input, |
4813 | | bool is_escaped, |
4814 | | std::basic_string_view<SourceCharT> pattern, |
4815 | | detail::regex_flags flags, |
4816 | | basic_regex_matches<DestCharT>& value) |
4817 | 0 | { |
4818 | | if constexpr (detail::is_type_disabled< |
4819 | | basic_regex_matches<DestCharT>>) { |
4820 | | SCN_EXPECT(false); |
4821 | | SCN_UNREACHABLE; |
4822 | | } |
4823 | 0 | else { |
4824 | 0 | if (is_escaped) { |
4825 | 0 | return read_regex_matches_impl<SourceCharT>( |
4826 | 0 | get_unescaped_regex_pattern(pattern), flags, input, value); |
4827 | 0 | } |
4828 | 0 | return read_regex_matches_impl(pattern, flags, input, value); |
4829 | 0 | } |
4830 | 0 | } Unexecuted instantiation: auto scn::v4::impl::regex_matches_reader<char>::impl<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>(std::__1::basic_string_view<char, std::__1::char_traits<char> >, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::detail::regex_flags, scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: auto scn::v4::impl::regex_matches_reader<char>::impl<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char>(scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, bool, std::__1::basic_string_view<char, std::__1::char_traits<char> >, scn::v4::detail::regex_flags, scn::v4::basic_regex_matches<char>&) |
4831 | | }; |
4832 | | |
4833 | | template <typename CharT> |
4834 | | struct reader_impl_for_regex_matches : public regex_matches_reader<CharT> {}; |
4835 | | |
4836 | | #endif // !SCN_DISABLE_REGEX |
4837 | | |
4838 | | ///////////////////////////////////////////////////////////////// |
4839 | | // String reader |
4840 | | ///////////////////////////////////////////////////////////////// |
4841 | | |
4842 | | template <typename Range, typename Iterator, typename ValueCharT> |
4843 | | auto read_string_impl(Range range, |
4844 | | Iterator&& result, |
4845 | | std::basic_string<ValueCharT>& value) |
4846 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4847 | 8.77k | { |
4848 | 8.77k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4849 | | |
4850 | 8.77k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); |
4851 | 8.77k | if (!validate_unicode(src.view())) { |
4852 | 2.22k | return detail::unexpected_scan_error( |
4853 | 2.22k | scan_error::invalid_scanned_value, |
4854 | 2.22k | "Invalid encoding in scanned string"); |
4855 | 2.22k | } |
4856 | | |
4857 | 6.54k | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); |
4858 | 6.54k | return SCN_MOVE(result); |
4859 | 6.54k | } Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4847 | 512 | { | 4848 | 512 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 512 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 512 | if (!validate_unicode(src.view())) { | 4852 | 208 | return detail::unexpected_scan_error( | 4853 | 208 | scan_error::invalid_scanned_value, | 4854 | 208 | "Invalid encoding in scanned string"); | 4855 | 208 | } | 4856 | | | 4857 | 304 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 304 | return SCN_MOVE(result); | 4859 | 304 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4847 | 290 | { | 4848 | 290 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 290 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 290 | if (!validate_unicode(src.view())) { | 4852 | 104 | return detail::unexpected_scan_error( | 4853 | 104 | scan_error::invalid_scanned_value, | 4854 | 104 | "Invalid encoding in scanned string"); | 4855 | 104 | } | 4856 | | | 4857 | 186 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 186 | return SCN_MOVE(result); | 4859 | 186 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4847 | 1.03k | { | 4848 | 1.03k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 1.03k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 1.03k | if (!validate_unicode(src.view())) { | 4852 | 330 | return detail::unexpected_scan_error( | 4853 | 330 | scan_error::invalid_scanned_value, | 4854 | 330 | "Invalid encoding in scanned string"); | 4855 | 330 | } | 4856 | | | 4857 | 704 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 704 | return SCN_MOVE(result); | 4859 | 704 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4847 | 876 | { | 4848 | 876 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 876 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 876 | if (!validate_unicode(src.view())) { | 4852 | 56 | return detail::unexpected_scan_error( | 4853 | 56 | scan_error::invalid_scanned_value, | 4854 | 56 | "Invalid encoding in scanned string"); | 4855 | 56 | } | 4856 | | | 4857 | 820 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 820 | return SCN_MOVE(result); | 4859 | 820 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4847 | 512 | { | 4848 | 512 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 512 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 512 | if (!validate_unicode(src.view())) { | 4852 | 208 | return detail::unexpected_scan_error( | 4853 | 208 | scan_error::invalid_scanned_value, | 4854 | 208 | "Invalid encoding in scanned string"); | 4855 | 208 | } | 4856 | | | 4857 | 304 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 304 | return SCN_MOVE(result); | 4859 | 304 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4847 | 290 | { | 4848 | 290 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 290 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 290 | if (!validate_unicode(src.view())) { | 4852 | 104 | return detail::unexpected_scan_error( | 4853 | 104 | scan_error::invalid_scanned_value, | 4854 | 104 | "Invalid encoding in scanned string"); | 4855 | 104 | } | 4856 | | | 4857 | 186 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 186 | return SCN_MOVE(result); | 4859 | 186 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4847 | 1.03k | { | 4848 | 1.03k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 1.03k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 1.03k | if (!validate_unicode(src.view())) { | 4852 | 330 | return detail::unexpected_scan_error( | 4853 | 330 | scan_error::invalid_scanned_value, | 4854 | 330 | "Invalid encoding in scanned string"); | 4855 | 330 | } | 4856 | | | 4857 | 704 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 704 | return SCN_MOVE(result); | 4859 | 704 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4847 | 876 | { | 4848 | 876 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 876 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 876 | if (!validate_unicode(src.view())) { | 4852 | 56 | return detail::unexpected_scan_error( | 4853 | 56 | scan_error::invalid_scanned_value, | 4854 | 56 | "Invalid encoding in scanned string"); | 4855 | 56 | } | 4856 | | | 4857 | 820 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 820 | return SCN_MOVE(result); | 4859 | 820 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4847 | 260 | { | 4848 | 260 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 260 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 260 | if (!validate_unicode(src.view())) { | 4852 | 132 | return detail::unexpected_scan_error( | 4853 | 132 | scan_error::invalid_scanned_value, | 4854 | 132 | "Invalid encoding in scanned string"); | 4855 | 132 | } | 4856 | | | 4857 | 128 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 128 | return SCN_MOVE(result); | 4859 | 128 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4847 | 178 | { | 4848 | 178 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 178 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 178 | if (!validate_unicode(src.view())) { | 4852 | 4 | return detail::unexpected_scan_error( | 4853 | 4 | scan_error::invalid_scanned_value, | 4854 | 4 | "Invalid encoding in scanned string"); | 4855 | 4 | } | 4856 | | | 4857 | 174 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 174 | return SCN_MOVE(result); | 4859 | 174 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4847 | 1.00k | { | 4848 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 1.00k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 1.00k | if (!validate_unicode(src.view())) { | 4852 | 272 | return detail::unexpected_scan_error( | 4853 | 272 | scan_error::invalid_scanned_value, | 4854 | 272 | "Invalid encoding in scanned string"); | 4855 | 272 | } | 4856 | | | 4857 | 736 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 736 | return SCN_MOVE(result); | 4859 | 736 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4847 | 228 | { | 4848 | 228 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 228 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 228 | if (!validate_unicode(src.view())) { | 4852 | 6 | return detail::unexpected_scan_error( | 4853 | 6 | scan_error::invalid_scanned_value, | 4854 | 6 | "Invalid encoding in scanned string"); | 4855 | 6 | } | 4856 | | | 4857 | 222 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 222 | return SCN_MOVE(result); | 4859 | 222 | } |
Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_12basic_stringIT1_NSJ_11char_traitsISU_EENSJ_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_12basic_stringIT1_NSK_11char_traitsISV_EENSK_9allocatorISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_12basic_stringIT1_NSE_11char_traitsISP_EENSE_9allocatorISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_12basic_stringIT1_NSF_11char_traitsISQ_EENSF_9allocatorISQ_EEEE _ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_12basic_stringIT1_NSG_11char_traitsISR_EENSG_9allocatorISR_EEEE Line | Count | Source | 4847 | 260 | { | 4848 | 260 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 260 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 260 | if (!validate_unicode(src.view())) { | 4852 | 132 | return detail::unexpected_scan_error( | 4853 | 132 | scan_error::invalid_scanned_value, | 4854 | 132 | "Invalid encoding in scanned string"); | 4855 | 132 | } | 4856 | | | 4857 | 128 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 128 | return SCN_MOVE(result); | 4859 | 128 | } |
_ZN3scn2v44impl16read_string_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_12basic_stringIT1_NSH_11char_traitsISS_EENSH_9allocatorISS_EEEE Line | Count | Source | 4847 | 178 | { | 4848 | 178 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 178 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 178 | if (!validate_unicode(src.view())) { | 4852 | 4 | return detail::unexpected_scan_error( | 4853 | 4 | scan_error::invalid_scanned_value, | 4854 | 4 | "Invalid encoding in scanned string"); | 4855 | 4 | } | 4856 | | | 4857 | 174 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 174 | return SCN_MOVE(result); | 4859 | 174 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_12basic_stringIT1_NSB_11char_traitsISM_EENSB_9allocatorISM_EEEE Line | Count | Source | 4847 | 1.00k | { | 4848 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 1.00k | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 1.00k | if (!validate_unicode(src.view())) { | 4852 | 272 | return detail::unexpected_scan_error( | 4853 | 272 | scan_error::invalid_scanned_value, | 4854 | 272 | "Invalid encoding in scanned string"); | 4855 | 272 | } | 4856 | | | 4857 | 736 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 736 | return SCN_MOVE(result); | 4859 | 736 | } |
_ZN3scn2v44impl16read_string_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_12basic_stringIT1_NSC_11char_traitsISN_EENSC_9allocatorISN_EEEE Line | Count | Source | 4847 | 228 | { | 4848 | 228 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4849 | | | 4850 | 228 | auto src = make_contiguous_buffer(ranges::subrange{range.begin(), result}); | 4851 | 228 | if (!validate_unicode(src.view())) { | 4852 | 6 | return detail::unexpected_scan_error( | 4853 | 6 | scan_error::invalid_scanned_value, | 4854 | 6 | "Invalid encoding in scanned string"); | 4855 | 6 | } | 4856 | | | 4857 | 222 | SCN_TRY_DISCARD(transcode_if_necessary(SCN_MOVE(src), value)); | 4858 | 222 | return SCN_MOVE(result); | 4859 | 222 | } |
|
4860 | | |
4861 | | template <typename Range, typename Iterator, typename ValueCharT> |
4862 | | auto read_string_view_impl(Range range, |
4863 | | Iterator&& result, |
4864 | | std::basic_string_view<ValueCharT>& value) |
4865 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4866 | 4.38k | { |
4867 | 4.38k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); |
4868 | | |
4869 | 4.38k | auto src = [&]() { |
4870 | 4.38k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { |
4871 | 1.24k | return make_contiguous_buffer( |
4872 | 1.24k | ranges::subrange{range.begin().base(), result.base()}); |
4873 | | } |
4874 | 3.14k | else { |
4875 | 3.14k | return make_contiguous_buffer( |
4876 | 3.14k | ranges::subrange{range.begin(), result}); |
4877 | 3.14k | } |
4878 | 4.38k | }(); Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 512 | auto src = [&]() { | 4870 | 512 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 512 | return make_contiguous_buffer( | 4872 | 512 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | | else { | 4875 | | return make_contiguous_buffer( | 4876 | | ranges::subrange{range.begin(), result}); | 4877 | | } | 4878 | 512 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 290 | auto src = [&]() { | 4870 | 290 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 290 | return make_contiguous_buffer( | 4872 | 290 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | | else { | 4875 | | return make_contiguous_buffer( | 4876 | | ranges::subrange{range.begin(), result}); | 4877 | | } | 4878 | 290 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 1.03k | auto src = [&]() { | 4870 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | | return make_contiguous_buffer( | 4872 | | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | 1.03k | else { | 4875 | 1.03k | return make_contiguous_buffer( | 4876 | 1.03k | ranges::subrange{range.begin(), result}); | 4877 | 1.03k | } | 4878 | 1.03k | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 876 | auto src = [&]() { | 4870 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | | return make_contiguous_buffer( | 4872 | | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | 876 | else { | 4875 | 876 | return make_contiguous_buffer( | 4876 | 876 | ranges::subrange{range.begin(), result}); | 4877 | 876 | } | 4878 | 876 | }(); |
Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEEENKUlvE_clEv Unexecuted instantiation: _ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEEENKUlvE_clEv _ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 260 | auto src = [&]() { | 4870 | 260 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 260 | return make_contiguous_buffer( | 4872 | 260 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | | else { | 4875 | | return make_contiguous_buffer( | 4876 | | ranges::subrange{range.begin(), result}); | 4877 | | } | 4878 | 260 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 178 | auto src = [&]() { | 4870 | 178 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 178 | return make_contiguous_buffer( | 4872 | 178 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | | else { | 4875 | | return make_contiguous_buffer( | 4876 | | ranges::subrange{range.begin(), result}); | 4877 | | } | 4878 | 178 | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 1.00k | auto src = [&]() { | 4870 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | | return make_contiguous_buffer( | 4872 | | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | 1.00k | else { | 4875 | 1.00k | return make_contiguous_buffer( | 4876 | 1.00k | ranges::subrange{range.begin(), result}); | 4877 | 1.00k | } | 4878 | 1.00k | }(); |
_ZZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEEENKUlvE_clEv Line | Count | Source | 4869 | 228 | auto src = [&]() { | 4870 | | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | | return make_contiguous_buffer( | 4872 | | ranges::subrange{range.begin().base(), result.base()}); | 4873 | | } | 4874 | 228 | else { | 4875 | 228 | return make_contiguous_buffer( | 4876 | 228 | ranges::subrange{range.begin(), result}); | 4877 | 228 | } | 4878 | 228 | }(); |
|
4879 | 4.38k | using src_type = decltype(src); |
4880 | | |
4881 | 4.38k | if (src.stores_allocated_string()) { |
4882 | 0 | return detail::unexpected_scan_error( |
4883 | 0 | scan_error::invalid_format_string, |
4884 | 0 | "Cannot read a string_view from this source range (not " |
4885 | 0 | "contiguous)"); |
4886 | 0 | } |
4887 | 4.38k | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { |
4888 | 0 | return detail::unexpected_scan_error(scan_error::invalid_format_string, |
4889 | 0 | "Cannot read a string_view from " |
4890 | 0 | "this source range (would require " |
4891 | 0 | "transcoding)"); |
4892 | | } |
4893 | 4.38k | else { |
4894 | 4.38k | const auto view = src.view(); |
4895 | 4.38k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); |
4896 | | |
4897 | 4.38k | if (!validate_unicode(value)) { |
4898 | 1.11k | return detail::unexpected_scan_error( |
4899 | 1.11k | scan_error::invalid_scanned_value, |
4900 | 1.11k | "Invalid encoding in scanned string_view"); |
4901 | 1.11k | } |
4902 | | |
4903 | 3.27k | return SCN_MOVE(result); |
4904 | 4.38k | } |
4905 | 4.38k | } Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4866 | 512 | { | 4867 | 512 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 512 | auto src = [&]() { | 4870 | 512 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 512 | return make_contiguous_buffer( | 4872 | 512 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 512 | } | 4874 | 512 | else { | 4875 | 512 | return make_contiguous_buffer( | 4876 | 512 | ranges::subrange{range.begin(), result}); | 4877 | 512 | } | 4878 | 512 | }(); | 4879 | 512 | using src_type = decltype(src); | 4880 | | | 4881 | 512 | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 512 | else { | 4894 | 512 | const auto view = src.view(); | 4895 | 512 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 512 | if (!validate_unicode(value)) { | 4898 | 208 | return detail::unexpected_scan_error( | 4899 | 208 | scan_error::invalid_scanned_value, | 4900 | 208 | "Invalid encoding in scanned string_view"); | 4901 | 208 | } | 4902 | | | 4903 | 304 | return SCN_MOVE(result); | 4904 | 512 | } | 4905 | 512 | } |
_ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4866 | 290 | { | 4867 | 290 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 290 | auto src = [&]() { | 4870 | 290 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 290 | return make_contiguous_buffer( | 4872 | 290 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 290 | } | 4874 | 290 | else { | 4875 | 290 | return make_contiguous_buffer( | 4876 | 290 | ranges::subrange{range.begin(), result}); | 4877 | 290 | } | 4878 | 290 | }(); | 4879 | 290 | using src_type = decltype(src); | 4880 | | | 4881 | 290 | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 290 | else { | 4894 | 290 | const auto view = src.view(); | 4895 | 290 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 290 | if (!validate_unicode(value)) { | 4898 | 104 | return detail::unexpected_scan_error( | 4899 | 104 | scan_error::invalid_scanned_value, | 4900 | 104 | "Invalid encoding in scanned string_view"); | 4901 | 104 | } | 4902 | | | 4903 | 186 | return SCN_MOVE(result); | 4904 | 290 | } | 4905 | 290 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4866 | 1.03k | { | 4867 | 1.03k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 1.03k | auto src = [&]() { | 4870 | 1.03k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 1.03k | return make_contiguous_buffer( | 4872 | 1.03k | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 1.03k | } | 4874 | 1.03k | else { | 4875 | 1.03k | return make_contiguous_buffer( | 4876 | 1.03k | ranges::subrange{range.begin(), result}); | 4877 | 1.03k | } | 4878 | 1.03k | }(); | 4879 | 1.03k | using src_type = decltype(src); | 4880 | | | 4881 | 1.03k | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 1.03k | else { | 4894 | 1.03k | const auto view = src.view(); | 4895 | 1.03k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 1.03k | if (!validate_unicode(value)) { | 4898 | 330 | return detail::unexpected_scan_error( | 4899 | 330 | scan_error::invalid_scanned_value, | 4900 | 330 | "Invalid encoding in scanned string_view"); | 4901 | 330 | } | 4902 | | | 4903 | 704 | return SCN_MOVE(result); | 4904 | 1.03k | } | 4905 | 1.03k | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4866 | 876 | { | 4867 | 876 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 876 | auto src = [&]() { | 4870 | 876 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 876 | return make_contiguous_buffer( | 4872 | 876 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 876 | } | 4874 | 876 | else { | 4875 | 876 | return make_contiguous_buffer( | 4876 | 876 | ranges::subrange{range.begin(), result}); | 4877 | 876 | } | 4878 | 876 | }(); | 4879 | 876 | using src_type = decltype(src); | 4880 | | | 4881 | 876 | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 876 | else { | 4894 | 876 | const auto view = src.view(); | 4895 | 876 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 876 | if (!validate_unicode(value)) { | 4898 | 56 | return detail::unexpected_scan_error( | 4899 | 56 | scan_error::invalid_scanned_value, | 4900 | 56 | "Invalid encoding in scanned string_view"); | 4901 | 56 | } | 4902 | | | 4903 | 820 | return SCN_MOVE(result); | 4904 | 876 | } | 4905 | 876 | } |
Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKcS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEcEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_cEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_OT0_RNSJ_17basic_string_viewIT1_NSJ_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEERNS1_27counted_width_iterator_impl22counted_width_iteratorISB_SC_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESM_OT0_RNSK_17basic_string_viewIT1_NSK_11char_traitsISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEESA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_OT0_RNSE_17basic_string_viewIT1_NSE_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEERSA_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_OT0_RNSF_17basic_string_viewIT1_NSF_11char_traitsISQ_EEEE _ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_OT0_RNSG_17basic_string_viewIT1_NSG_11char_traitsISR_EEEE Line | Count | Source | 4866 | 260 | { | 4867 | 260 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 260 | auto src = [&]() { | 4870 | 260 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 260 | return make_contiguous_buffer( | 4872 | 260 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 260 | } | 4874 | 260 | else { | 4875 | 260 | return make_contiguous_buffer( | 4876 | 260 | ranges::subrange{range.begin(), result}); | 4877 | 260 | } | 4878 | 260 | }(); | 4879 | 260 | using src_type = decltype(src); | 4880 | | | 4881 | 260 | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 260 | else { | 4894 | 260 | const auto view = src.view(); | 4895 | 260 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 260 | if (!validate_unicode(value)) { | 4898 | 132 | return detail::unexpected_scan_error( | 4899 | 132 | scan_error::invalid_scanned_value, | 4900 | 132 | "Invalid encoding in scanned string_view"); | 4901 | 132 | } | 4902 | | | 4903 | 128 | return SCN_MOVE(result); | 4904 | 260 | } | 4905 | 260 | } |
_ZN3scn2v44impl21read_string_view_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEERNS1_27counted_width_iterator_impl22counted_width_iteratorIS9_S9_EEwEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_OT0_RNSH_17basic_string_viewIT1_NSH_11char_traitsISS_EEEE Line | Count | Source | 4866 | 178 | { | 4867 | 178 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 178 | auto src = [&]() { | 4870 | 178 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 178 | return make_contiguous_buffer( | 4872 | 178 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 178 | } | 4874 | 178 | else { | 4875 | 178 | return make_contiguous_buffer( | 4876 | 178 | ranges::subrange{range.begin(), result}); | 4877 | 178 | } | 4878 | 178 | }(); | 4879 | 178 | using src_type = decltype(src); | 4880 | | | 4881 | 178 | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 178 | else { | 4894 | 178 | const auto view = src.view(); | 4895 | 178 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 178 | if (!validate_unicode(value)) { | 4898 | 4 | return detail::unexpected_scan_error( | 4899 | 4 | scan_error::invalid_scanned_value, | 4900 | 4 | "Invalid encoding in scanned string_view"); | 4901 | 4 | } | 4902 | | | 4903 | 174 | return SCN_MOVE(result); | 4904 | 178 | } | 4905 | 178 | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EES8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESD_OT0_RNSB_17basic_string_viewIT1_NSB_11char_traitsISM_EEEE Line | Count | Source | 4866 | 1.00k | { | 4867 | 1.00k | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 1.00k | auto src = [&]() { | 4870 | 1.00k | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 1.00k | return make_contiguous_buffer( | 4872 | 1.00k | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 1.00k | } | 4874 | 1.00k | else { | 4875 | 1.00k | return make_contiguous_buffer( | 4876 | 1.00k | ranges::subrange{range.begin(), result}); | 4877 | 1.00k | } | 4878 | 1.00k | }(); | 4879 | 1.00k | using src_type = decltype(src); | 4880 | | | 4881 | 1.00k | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 1.00k | else { | 4894 | 1.00k | const auto view = src.view(); | 4895 | 1.00k | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 1.00k | if (!validate_unicode(value)) { | 4898 | 272 | return detail::unexpected_scan_error( | 4899 | 272 | scan_error::invalid_scanned_value, | 4900 | 272 | "Invalid encoding in scanned string_view"); | 4901 | 272 | } | 4902 | | | 4903 | 736 | return SCN_MOVE(result); | 4904 | 1.00k | } | 4905 | 1.00k | } |
_ZN3scn2v44impl21read_string_view_implINS0_6ranges6detail9subrange_8subrangeIPKwS8_EERS8_wEENS0_13scan_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_OT0_RNSC_17basic_string_viewIT1_NSC_11char_traitsISN_EEEE Line | Count | Source | 4866 | 228 | { | 4867 | 228 | static_assert(ranges::forward_iterator<detail::remove_cvref_t<Iterator>>); | 4868 | | | 4869 | 228 | auto src = [&]() { | 4870 | 228 | if constexpr (detail::is_specialization_of_v<Range, take_width_view>) { | 4871 | 228 | return make_contiguous_buffer( | 4872 | 228 | ranges::subrange{range.begin().base(), result.base()}); | 4873 | 228 | } | 4874 | 228 | else { | 4875 | 228 | return make_contiguous_buffer( | 4876 | 228 | ranges::subrange{range.begin(), result}); | 4877 | 228 | } | 4878 | 228 | }(); | 4879 | 228 | using src_type = decltype(src); | 4880 | | | 4881 | 228 | if (src.stores_allocated_string()) { | 4882 | 0 | return detail::unexpected_scan_error( | 4883 | 0 | scan_error::invalid_format_string, | 4884 | 0 | "Cannot read a string_view from this source range (not " | 4885 | 0 | "contiguous)"); | 4886 | 0 | } | 4887 | | if constexpr (!std::is_same_v<typename src_type::char_type, ValueCharT>) { | 4888 | | return detail::unexpected_scan_error(scan_error::invalid_format_string, | 4889 | | "Cannot read a string_view from " | 4890 | | "this source range (would require " | 4891 | | "transcoding)"); | 4892 | | } | 4893 | 228 | else { | 4894 | 228 | const auto view = src.view(); | 4895 | 228 | value = std::basic_string_view<ValueCharT>(view.data(), view.size()); | 4896 | | | 4897 | 228 | if (!validate_unicode(value)) { | 4898 | 6 | return detail::unexpected_scan_error( | 4899 | 6 | scan_error::invalid_scanned_value, | 4900 | 6 | "Invalid encoding in scanned string_view"); | 4901 | 6 | } | 4902 | | | 4903 | 222 | return SCN_MOVE(result); | 4904 | 228 | } | 4905 | 228 | } |
|
4906 | | |
4907 | | template <typename SourceCharT> |
4908 | | class word_reader_impl { |
4909 | | public: |
4910 | | template <typename Range, typename ValueCharT> |
4911 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
4912 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4913 | 4.99k | { |
4914 | 4.99k | return read_string_impl(range, read_until_classic_space(range), value); |
4915 | 4.99k | } Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4913 | 350 | { | 4914 | 350 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 350 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4913 | 972 | { | 4914 | 972 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 972 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4913 | 350 | { | 4914 | 350 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 350 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4913 | 972 | { | 4914 | 972 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 972 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4913 | 206 | { | 4914 | 206 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 206 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4913 | 970 | { | 4914 | 970 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 970 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 4913 | 206 | { | 4914 | 206 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 206 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Line | Count | Source | 4913 | 970 | { | 4914 | 970 | return read_string_impl(range, read_until_classic_space(range), value); | 4915 | 970 | } |
|
4916 | | |
4917 | | template <typename Range, typename ValueCharT> |
4918 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
4919 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4920 | 2.49k | { |
4921 | 2.49k | return read_string_view_impl(range, read_until_classic_space(range), |
4922 | 2.49k | value); |
4923 | 2.49k | } Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4920 | 350 | { | 4921 | 350 | return read_string_view_impl(range, read_until_classic_space(range), | 4922 | 350 | value); | 4923 | 350 | } |
_ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4920 | 972 | { | 4921 | 972 | return read_string_view_impl(range, read_until_classic_space(range), | 4922 | 972 | value); | 4923 | 972 | } |
Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl16word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 4920 | 206 | { | 4921 | 206 | return read_string_view_impl(range, read_until_classic_space(range), | 4922 | 206 | value); | 4923 | 206 | } |
_ZN3scn2v44impl16word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Line | Count | Source | 4920 | 970 | { | 4921 | 970 | return read_string_view_impl(range, read_until_classic_space(range), | 4922 | 970 | value); | 4923 | 970 | } |
|
4924 | | }; |
4925 | | |
4926 | | template <typename SourceCharT> |
4927 | | class custom_word_reader_impl { |
4928 | | public: |
4929 | | template <typename Range, typename ValueCharT> |
4930 | | auto read(Range range, |
4931 | | const detail::format_specs& specs, |
4932 | | std::basic_string<ValueCharT>& value) |
4933 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4934 | 468 | { |
4935 | 468 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4936 | 300 | return read_string_impl( |
4937 | 300 | range, |
4938 | 300 | read_until_code_unit( |
4939 | 300 | range, specs.fill.template get_code_unit<SourceCharT>()), |
4940 | 300 | value); |
4941 | 300 | } |
4942 | 168 | return read_string_impl( |
4943 | 168 | range, |
4944 | 168 | read_until_code_units( |
4945 | 168 | range, specs.fill.template get_code_units<SourceCharT>()), |
4946 | 168 | value); |
4947 | 468 | } Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4934 | 106 | { | 4935 | 106 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 54 | return read_string_impl( | 4937 | 54 | range, | 4938 | 54 | read_until_code_unit( | 4939 | 54 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 54 | value); | 4941 | 54 | } | 4942 | 52 | return read_string_impl( | 4943 | 52 | range, | 4944 | 52 | read_until_code_units( | 4945 | 52 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 52 | value); | 4947 | 106 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4934 | 62 | { | 4935 | 62 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 30 | return read_string_impl( | 4937 | 30 | range, | 4938 | 30 | read_until_code_unit( | 4939 | 30 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 30 | value); | 4941 | 30 | } | 4942 | 32 | return read_string_impl( | 4943 | 32 | range, | 4944 | 32 | read_until_code_units( | 4945 | 32 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 32 | value); | 4947 | 62 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4934 | 106 | { | 4935 | 106 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 54 | return read_string_impl( | 4937 | 54 | range, | 4938 | 54 | read_until_code_unit( | 4939 | 54 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 54 | value); | 4941 | 54 | } | 4942 | 52 | return read_string_impl( | 4943 | 52 | range, | 4944 | 52 | read_until_code_units( | 4945 | 52 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 52 | value); | 4947 | 106 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4934 | 62 | { | 4935 | 62 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 30 | return read_string_impl( | 4937 | 30 | range, | 4938 | 30 | read_until_code_unit( | 4939 | 30 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 30 | value); | 4941 | 30 | } | 4942 | 32 | return read_string_impl( | 4943 | 32 | range, | 4944 | 32 | read_until_code_units( | 4945 | 32 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 32 | value); | 4947 | 62 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4934 | 28 | { | 4935 | 28 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 28 | return read_string_impl( | 4937 | 28 | range, | 4938 | 28 | read_until_code_unit( | 4939 | 28 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 28 | value); | 4941 | 28 | } | 4942 | 0 | return read_string_impl( | 4943 | 0 | range, | 4944 | 0 | read_until_code_units( | 4945 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 0 | value); | 4947 | 28 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4934 | 38 | { | 4935 | 38 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 38 | return read_string_impl( | 4937 | 38 | range, | 4938 | 38 | read_until_code_unit( | 4939 | 38 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 38 | value); | 4941 | 38 | } | 4942 | 0 | return read_string_impl( | 4943 | 0 | range, | 4944 | 0 | read_until_code_units( | 4945 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 0 | value); | 4947 | 38 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 4934 | 28 | { | 4935 | 28 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 28 | return read_string_impl( | 4937 | 28 | range, | 4938 | 28 | read_until_code_unit( | 4939 | 28 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 28 | value); | 4941 | 28 | } | 4942 | 0 | return read_string_impl( | 4943 | 0 | range, | 4944 | 0 | read_until_code_units( | 4945 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 0 | value); | 4947 | 28 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 4934 | 38 | { | 4935 | 38 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4936 | 38 | return read_string_impl( | 4937 | 38 | range, | 4938 | 38 | read_until_code_unit( | 4939 | 38 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4940 | 38 | value); | 4941 | 38 | } | 4942 | 0 | return read_string_impl( | 4943 | 0 | range, | 4944 | 0 | read_until_code_units( | 4945 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4946 | 0 | value); | 4947 | 38 | } |
|
4948 | | |
4949 | | template <typename Range, typename ValueCharT> |
4950 | | auto read(Range range, |
4951 | | const detail::format_specs& specs, |
4952 | | std::basic_string_view<ValueCharT>& value) |
4953 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4954 | 234 | { |
4955 | 234 | if (specs.fill.size() <= sizeof(SourceCharT)) { |
4956 | 150 | return read_string_view_impl( |
4957 | 150 | range, |
4958 | 150 | read_until_code_unit( |
4959 | 150 | range, specs.fill.template get_code_unit<SourceCharT>()), |
4960 | 150 | value); |
4961 | 150 | } |
4962 | 84 | return read_string_view_impl( |
4963 | 84 | range, |
4964 | 84 | read_until_code_units( |
4965 | 84 | range, specs.fill.template get_code_units<SourceCharT>()), |
4966 | 84 | value); |
4967 | 234 | } Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4954 | 106 | { | 4955 | 106 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4956 | 54 | return read_string_view_impl( | 4957 | 54 | range, | 4958 | 54 | read_until_code_unit( | 4959 | 54 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4960 | 54 | value); | 4961 | 54 | } | 4962 | 52 | return read_string_view_impl( | 4963 | 52 | range, | 4964 | 52 | read_until_code_units( | 4965 | 52 | range, specs.fill.template get_code_units<SourceCharT>()), | 4966 | 52 | value); | 4967 | 106 | } |
_ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4954 | 62 | { | 4955 | 62 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4956 | 30 | return read_string_view_impl( | 4957 | 30 | range, | 4958 | 30 | read_until_code_unit( | 4959 | 30 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4960 | 30 | value); | 4961 | 30 | } | 4962 | 32 | return read_string_view_impl( | 4963 | 32 | range, | 4964 | 32 | read_until_code_units( | 4965 | 32 | range, specs.fill.template get_code_units<SourceCharT>()), | 4966 | 32 | value); | 4967 | 62 | } |
Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl23custom_word_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 4954 | 28 | { | 4955 | 28 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4956 | 28 | return read_string_view_impl( | 4957 | 28 | range, | 4958 | 28 | read_until_code_unit( | 4959 | 28 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4960 | 28 | value); | 4961 | 28 | } | 4962 | 0 | return read_string_view_impl( | 4963 | 0 | range, | 4964 | 0 | read_until_code_units( | 4965 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4966 | 0 | value); | 4967 | 28 | } |
_ZN3scn2v44impl23custom_word_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 4954 | 38 | { | 4955 | 38 | if (specs.fill.size() <= sizeof(SourceCharT)) { | 4956 | 38 | return read_string_view_impl( | 4957 | 38 | range, | 4958 | 38 | read_until_code_unit( | 4959 | 38 | range, specs.fill.template get_code_unit<SourceCharT>()), | 4960 | 38 | value); | 4961 | 38 | } | 4962 | 0 | return read_string_view_impl( | 4963 | 0 | range, | 4964 | 0 | read_until_code_units( | 4965 | 0 | range, specs.fill.template get_code_units<SourceCharT>()), | 4966 | 0 | value); | 4967 | 38 | } |
|
4968 | | }; |
4969 | | |
4970 | | #if !SCN_DISABLE_REGEX |
4971 | | template <typename SourceCharT> |
4972 | | class regex_string_reader_impl { |
4973 | | public: |
4974 | | template <typename Range, typename ValueCharT> |
4975 | | auto read(Range range, |
4976 | | std::basic_string_view<SourceCharT> pattern, |
4977 | | detail::regex_flags flags, |
4978 | | std::basic_string<ValueCharT>& value) |
4979 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4980 | 844 | { |
4981 | 844 | SCN_TRY(it, impl(range, pattern, flags)); |
4982 | 60 | return read_string_impl(range, it, value); |
4983 | 844 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4980 | 270 | { | 4981 | 270 | SCN_TRY(it, impl(range, pattern, flags)); | 4982 | 0 | return read_string_impl(range, it, value); | 4983 | 270 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4980 | 152 | { | 4981 | 152 | SCN_TRY(it, impl(range, pattern, flags)); | 4982 | 30 | return read_string_impl(range, it, value); | 4983 | 152 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Line | Count | Source | 4980 | 270 | { | 4981 | 270 | SCN_TRY(it, impl(range, pattern, flags)); | 4982 | 0 | return read_string_impl(range, it, value); | 4983 | 270 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Line | Count | Source | 4980 | 152 | { | 4981 | 152 | SCN_TRY(it, impl(range, pattern, flags)); | 4982 | 30 | return read_string_impl(range, it, value); | 4983 | 152 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSI_12basic_stringIT0_NSR_ISW_EENSI_9allocatorISW_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSG_12basic_stringIT0_NSP_ISU_EENSG_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSF_12basic_stringIT0_NSO_ISU_EENSF_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSD_12basic_stringIT0_NSM_ISS_EENSD_9allocatorISS_EEEE |
4984 | | |
4985 | | template <typename Range, typename ValueCharT> |
4986 | | auto read(Range range, |
4987 | | std::basic_string_view<SourceCharT> pattern, |
4988 | | detail::regex_flags flags, |
4989 | | std::basic_string_view<ValueCharT>& value) |
4990 | | -> scan_expected<ranges::const_iterator_t<Range>> |
4991 | 422 | { |
4992 | 422 | SCN_TRY(it, impl(range, pattern, flags)); |
4993 | 30 | return read_string_view_impl(range, it, value); |
4994 | 422 | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Line | Count | Source | 4991 | 270 | { | 4992 | 270 | SCN_TRY(it, impl(range, pattern, flags)); | 4993 | 0 | return read_string_view_impl(range, it, value); | 4994 | 270 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Line | Count | Source | 4991 | 152 | { | 4992 | 152 | SCN_TRY(it, impl(range, pattern, flags)); | 4993 | 30 | return read_string_view_impl(range, it, value); | 4994 | 152 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsERNSQ_IT0_NSR_ISV_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsERNSO_IT0_NSP_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsERNSN_IT0_NSO_IST_EEEE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsERNSL_IT0_NSM_ISR_EEEE |
4995 | | |
4996 | | private: |
4997 | | template <typename Range> |
4998 | | auto impl(Range range, |
4999 | | std::basic_string_view<SourceCharT> pattern, |
5000 | | detail::regex_flags flags) |
5001 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5002 | 1.26k | { |
5003 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && |
5004 | 0 | !std::is_same_v<SourceCharT, char>) { |
5005 | 0 | return detail::unexpected_scan_error( |
5006 | 0 | scan_error::invalid_format_string, |
5007 | 0 | "Regex backend doesn't support wide strings as input"); |
5008 | | } |
5009 | 1.26k | else { |
5010 | 1.26k | if (!is_entire_source_contiguous(range)) { |
5011 | 810 | return detail::unexpected_scan_error( |
5012 | 810 | scan_error::invalid_format_string, |
5013 | 810 | "Cannot use regex with a non-contiguous source " |
5014 | 810 | "range"); |
5015 | 810 | } |
5016 | | |
5017 | 456 | auto input = get_as_contiguous(range); |
5018 | 456 | SCN_TRY(it, |
5019 | 90 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); |
5020 | 90 | return ranges::next(range.begin(), |
5021 | 90 | ranges::distance(input.begin(), it)); |
5022 | 456 | } |
5023 | 1.26k | } Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIcNSI_11char_traitsIcEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIcNSG_11char_traitsIcEEEENS9_11regex_flagsE _ZN3scn2v44impl24regex_string_reader_implIcE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIcNSF_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 5002 | 810 | { | 5003 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 5004 | | !std::is_same_v<SourceCharT, char>) { | 5005 | | return detail::unexpected_scan_error( | 5006 | | scan_error::invalid_format_string, | 5007 | | "Regex backend doesn't support wide strings as input"); | 5008 | | } | 5009 | 810 | else { | 5010 | 810 | if (!is_entire_source_contiguous(range)) { | 5011 | 810 | return detail::unexpected_scan_error( | 5012 | 810 | scan_error::invalid_format_string, | 5013 | 810 | "Cannot use regex with a non-contiguous source " | 5014 | 810 | "range"); | 5015 | 810 | } | 5016 | | | 5017 | 0 | auto input = get_as_contiguous(range); | 5018 | 0 | SCN_TRY(it, | 5019 | 0 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 5020 | 0 | return ranges::next(range.begin(), | 5021 | 0 | ranges::distance(input.begin(), it)); | 5022 | 0 | } | 5023 | 810 | } |
_ZN3scn2v44impl24regex_string_reader_implIcE4implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIcNSD_11char_traitsIcEEEENS0_6detail11regex_flagsE Line | Count | Source | 5002 | 456 | { | 5003 | | if constexpr (!SCN_REGEX_SUPPORTS_WIDE_STRINGS && | 5004 | | !std::is_same_v<SourceCharT, char>) { | 5005 | | return detail::unexpected_scan_error( | 5006 | | scan_error::invalid_format_string, | 5007 | | "Regex backend doesn't support wide strings as input"); | 5008 | | } | 5009 | 456 | else { | 5010 | 456 | if (!is_entire_source_contiguous(range)) { | 5011 | 0 | return detail::unexpected_scan_error( | 5012 | 0 | scan_error::invalid_format_string, | 5013 | 0 | "Cannot use regex with a non-contiguous source " | 5014 | 0 | "range"); | 5015 | 0 | } | 5016 | | | 5017 | 456 | auto input = get_as_contiguous(range); | 5018 | 456 | SCN_TRY(it, | 5019 | 90 | read_regex_string_impl<SourceCharT>(pattern, flags, input)); | 5020 | 90 | return ranges::next(range.begin(), | 5021 | 90 | ranges::distance(input.begin(), it)); | 5022 | 456 | } | 5023 | 456 | } |
Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSI_17basic_string_viewIwNSI_11char_traitsIwEEEENSA_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NSG_17basic_string_viewIwNSG_11char_traitsIwEEEENS9_11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NSF_17basic_string_viewIwNSF_11char_traitsIwEEEENS0_6detail11regex_flagsE Unexecuted instantiation: _ZN3scn2v44impl24regex_string_reader_implIwE4implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NSD_17basic_string_viewIwNSD_11char_traitsIwEEEENS0_6detail11regex_flagsE |
5024 | | }; |
5025 | | #endif |
5026 | | |
5027 | | template <typename SourceCharT> |
5028 | | class character_reader_impl { |
5029 | | public: |
5030 | | // Note: no localized version, |
5031 | | // since it's equivalent in behavior |
5032 | | |
5033 | | template <typename Range, typename ValueCharT> |
5034 | | auto read(Range range, std::basic_string<ValueCharT>& value) |
5035 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5036 | 164 | { |
5037 | 164 | return read_impl( |
5038 | 164 | range, |
5039 | 164 | [&](const auto& rng) { |
5040 | 164 | return read_string_impl(rng, read_all(rng), value); |
5041 | 164 | }, Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 5039 | 56 | [&](const auto& rng) { | 5040 | 56 | return read_string_impl(rng, read_all(rng), value); | 5041 | 56 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 5039 | 56 | [&](const auto& rng) { | 5040 | 56 | return read_string_impl(rng, read_all(rng), value); | 5041 | 56 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 5039 | 26 | [&](const auto& rng) { | 5040 | 26 | return read_string_impl(rng, read_all(rng), value); | 5041 | 26 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEEENKUlRKSK_E_clISG_EEDaSZ_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEEENKUlRKSH_E_clISD_EEDaSW_ Line | Count | Source | 5039 | 26 | [&](const auto& rng) { | 5040 | 26 | return read_string_impl(rng, read_all(rng), value); | 5041 | 26 | }, |
|
5042 | 164 | detail::priority_tag<1>{}); |
5043 | 164 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 5036 | 56 | { | 5037 | 56 | return read_impl( | 5038 | 56 | range, | 5039 | 56 | [&](const auto& rng) { | 5040 | 56 | return read_string_impl(rng, read_all(rng), value); | 5041 | 56 | }, | 5042 | 56 | detail::priority_tag<1>{}); | 5043 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 5036 | 56 | { | 5037 | 56 | return read_impl( | 5038 | 56 | range, | 5039 | 56 | [&](const auto& rng) { | 5040 | 56 | return read_string_impl(rng, read_all(rng), value); | 5041 | 56 | }, | 5042 | 56 | detail::priority_tag<1>{}); | 5043 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 5036 | 26 | { | 5037 | 26 | return read_impl( | 5038 | 26 | range, | 5039 | 26 | [&](const auto& rng) { | 5040 | 26 | return read_string_impl(rng, read_all(rng), value); | 5041 | 26 | }, | 5042 | 26 | detail::priority_tag<1>{}); | 5043 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_12basic_stringIT0_NSI_11char_traitsISR_EENSI_9allocatorISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_12basic_stringIT0_NSF_11char_traitsISO_EENSF_9allocatorISO_EEEE Line | Count | Source | 5036 | 26 | { | 5037 | 26 | return read_impl( | 5038 | 26 | range, | 5039 | 26 | [&](const auto& rng) { | 5040 | 26 | return read_string_impl(rng, read_all(rng), value); | 5041 | 26 | }, | 5042 | 26 | detail::priority_tag<1>{}); | 5043 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_12basic_stringIT0_NSD_11char_traitsISM_EENSD_9allocatorISM_EEEE |
5044 | | |
5045 | | template <typename Range, typename ValueCharT> |
5046 | | auto read(Range range, std::basic_string_view<ValueCharT>& value) |
5047 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5048 | 82 | { |
5049 | 82 | return read_impl( |
5050 | 82 | range, |
5051 | 82 | [&](const auto& rng) { |
5052 | 82 | return read_string_view_impl(rng, read_all(rng), value); |
5053 | 82 | }, Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 5051 | 56 | [&](const auto& rng) { | 5052 | 56 | return read_string_view_impl(rng, read_all(rng), value); | 5053 | 56 | }, |
Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Unexecuted instantiation: _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEEENKUlRKSK_E_clISG_EEDaSX_ _ZZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEEENKUlRKSH_E_clISD_EEDaSU_ Line | Count | Source | 5051 | 26 | [&](const auto& rng) { | 5052 | 26 | return read_string_view_impl(rng, read_all(rng), value); | 5053 | 26 | }, |
|
5054 | 82 | detail::priority_tag<1>{}); |
5055 | 82 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 5048 | 56 | { | 5049 | 56 | return read_impl( | 5050 | 56 | range, | 5051 | 56 | [&](const auto& rng) { | 5052 | 56 | return read_string_view_impl(rng, read_all(rng), value); | 5053 | 56 | }, | 5054 | 56 | detail::priority_tag<1>{}); | 5055 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RNSI_17basic_string_viewIT0_NSI_11char_traitsISR_EEEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEE _ZN3scn2v44impl21character_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RNSF_17basic_string_viewIT0_NSF_11char_traitsISO_EEEE Line | Count | Source | 5048 | 26 | { | 5049 | 26 | return read_impl( | 5050 | 26 | range, | 5051 | 26 | [&](const auto& rng) { | 5052 | 26 | return read_string_view_impl(rng, read_all(rng), value); | 5053 | 26 | }, | 5054 | 26 | detail::priority_tag<1>{}); | 5055 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RNSD_17basic_string_viewIT0_NSD_11char_traitsISM_EEEE |
5056 | | |
5057 | | private: |
5058 | | template <typename View, typename ReadCb> |
5059 | | static auto read_impl(const take_width_view<View>& range, |
5060 | | ReadCb&& read_cb, |
5061 | | detail::priority_tag<1>) |
5062 | | -> scan_expected<ranges::const_iterator_t<take_width_view<View>&>> |
5063 | 246 | { |
5064 | 246 | return read_cb(range); |
5065 | 246 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5063 | 56 | { | 5064 | 56 | return read_cb(range); | 5065 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5063 | 56 | { | 5064 | 56 | return read_cb(range); | 5065 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5063 | 56 | { | 5064 | 56 | return read_cb(range); | 5065 | 56 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5063 | 26 | { | 5064 | 26 | return read_cb(range); | 5065 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_12basic_stringIT0_NSJ_11char_traitsISS_EENSJ_9allocatorISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS12_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_12basic_stringIT0_NSG_11char_traitsISP_EENSG_9allocatorISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSZ_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5063 | 26 | { | 5064 | 26 | return read_cb(range); | 5065 | 26 | } |
Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readINS1_15take_width_viewISE_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESL_RNSJ_17basic_string_viewIT0_NSJ_11char_traitsISS_EEEEEUlRKSL_E_EENSI_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSK_IRNSG_ISL_EEE4typeEEEEEEERKS10_OSS_NS9_12priority_tagILm1EEE _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readINS1_15take_width_viewISB_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RNSG_17basic_string_viewIT0_NSG_11char_traitsISP_EEEEEUlRKSI_E_EENSF_IDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSH_IRNSD_ISI_EEE4typeEEEEEEERKSX_OSP_NS0_6detail12priority_tagILm1EEE Line | Count | Source | 5063 | 26 | { | 5064 | 26 | return read_cb(range); | 5065 | 26 | } |
|
5066 | | |
5067 | | template <typename Range, typename ReadCb> |
5068 | | static auto read_impl(Range, ReadCb&&, detail::priority_tag<0>) |
5069 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5070 | 0 | { |
5071 | 0 | return detail::unexpected_scan_error( |
5072 | 0 | scan_error::invalid_format_string, |
5073 | 0 | "Cannot read characters {:c} without maximum field width"); |
5074 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_12basic_stringIT0_NSH_11char_traitsISQ_EENSH_9allocatorISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_12basic_stringIT0_NSE_11char_traitsISN_EENSE_9allocatorISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_cEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEZNS3_4readISE_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_RNSH_17basic_string_viewIT0_NSH_11char_traitsISQ_EEEEEUlRKSJ_E_EESO_SJ_OSQ_NS9_12priority_tagILm0EEE Unexecuted instantiation: _ZN3scn2v44impl21character_reader_implIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEZNS3_4readISB_wEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_RNSE_17basic_string_viewIT0_NSE_11char_traitsISN_EEEEEUlRKSG_E_EESL_SG_OSN_NS0_6detail12priority_tagILm0EEE |
5075 | | }; |
5076 | | |
5077 | | struct nonascii_specs_handler { |
5078 | | void on_charset_single(char32_t cp) |
5079 | 770k | { |
5080 | 770k | on_charset_range(cp, cp + 1); |
5081 | 770k | } |
5082 | | |
5083 | | void on_charset_range(char32_t begin, char32_t end) |
5084 | 775k | { |
5085 | 775k | if (end <= 127) { |
5086 | 419k | return; |
5087 | 419k | } |
5088 | | |
5089 | 69.1M | for (auto& elem : extra_ranges) { |
5090 | | // TODO: check for overlap |
5091 | 69.1M | if (elem.first == end) { |
5092 | 798 | elem.first = begin; |
5093 | 798 | return; |
5094 | 798 | } |
5095 | | |
5096 | 69.1M | if (elem.second == begin) { |
5097 | 4.68k | elem.second = end; |
5098 | 4.68k | return; |
5099 | 4.68k | } |
5100 | 69.1M | } |
5101 | | |
5102 | 350k | extra_ranges.push_back(std::make_pair(begin, end)); |
5103 | 350k | } |
5104 | | |
5105 | | constexpr void on_charset_inverted() const |
5106 | 1.03k | { |
5107 | | // no-op |
5108 | 1.03k | } |
5109 | | |
5110 | | constexpr void on_error(const char* msg) |
5111 | 0 | { |
5112 | 0 | on_error(scan_error{scan_error::invalid_format_string, msg}); |
5113 | 0 | } |
5114 | | constexpr void on_error(scan_error e) |
5115 | 0 | { |
5116 | 0 | SCN_UNLIKELY_ATTR |
5117 | 0 | err = unexpected(e); |
5118 | 0 | } |
5119 | | |
5120 | | constexpr scan_expected<void> get_error() const |
5121 | 785k | { |
5122 | 785k | return err; |
5123 | 785k | } |
5124 | | |
5125 | | std::vector<std::pair<char32_t, char32_t>> extra_ranges; |
5126 | | scan_expected<void> err; |
5127 | | }; |
5128 | | |
5129 | | template <typename SourceCharT> |
5130 | | class character_set_reader_impl { |
5131 | | public: |
5132 | | template <typename Range, typename ValueCharT> |
5133 | | auto read(Range range, |
5134 | | const detail::format_specs& specs, |
5135 | | std::basic_string<ValueCharT>& value) |
5136 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5137 | 3.95k | { |
5138 | 3.95k | auto it = read_source_impl(range, {specs}); |
5139 | 3.95k | if (SCN_UNLIKELY(!it)) { |
5140 | 868 | return unexpected(it.error()); |
5141 | 868 | } |
5142 | | |
5143 | 3.08k | return read_string_impl(range, *it, value); |
5144 | 3.95k | } Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5137 | 298 | { | 5138 | 298 | auto it = read_source_impl(range, {specs}); | 5139 | 298 | if (SCN_UNLIKELY(!it)) { | 5140 | 8 | return unexpected(it.error()); | 5141 | 8 | } | 5142 | | | 5143 | 290 | return read_string_impl(range, *it, value); | 5144 | 298 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5137 | 1.24k | { | 5138 | 1.24k | auto it = read_source_impl(range, {specs}); | 5139 | 1.24k | if (SCN_UNLIKELY(!it)) { | 5140 | 396 | return unexpected(it.error()); | 5141 | 396 | } | 5142 | | | 5143 | 846 | return read_string_impl(range, *it, value); | 5144 | 1.24k | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5137 | 298 | { | 5138 | 298 | auto it = read_source_impl(range, {specs}); | 5139 | 298 | if (SCN_UNLIKELY(!it)) { | 5140 | 8 | return unexpected(it.error()); | 5141 | 8 | } | 5142 | | | 5143 | 290 | return read_string_impl(range, *it, value); | 5144 | 298 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5137 | 1.24k | { | 5138 | 1.24k | auto it = read_source_impl(range, {specs}); | 5139 | 1.24k | if (SCN_UNLIKELY(!it)) { | 5140 | 396 | return unexpected(it.error()); | 5141 | 396 | } | 5142 | | | 5143 | 846 | return read_string_impl(range, *it, value); | 5144 | 1.24k | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5137 | 190 | { | 5138 | 190 | auto it = read_source_impl(range, {specs}); | 5139 | 190 | if (SCN_UNLIKELY(!it)) { | 5140 | 12 | return unexpected(it.error()); | 5141 | 12 | } | 5142 | | | 5143 | 178 | return read_string_impl(range, *it, value); | 5144 | 190 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5137 | 246 | { | 5138 | 246 | auto it = read_source_impl(range, {specs}); | 5139 | 246 | if (SCN_UNLIKELY(!it)) { | 5140 | 18 | return unexpected(it.error()); | 5141 | 18 | } | 5142 | | | 5143 | 228 | return read_string_impl(range, *it, value); | 5144 | 246 | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_12basic_stringIT0_NSI_11char_traitsISU_EENSI_9allocatorISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_12basic_stringIT0_NSG_11char_traitsISS_EENSG_9allocatorISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_12basic_stringIT0_NSF_11char_traitsISS_EENSF_9allocatorISS_EEEE Line | Count | Source | 5137 | 190 | { | 5138 | 190 | auto it = read_source_impl(range, {specs}); | 5139 | 190 | if (SCN_UNLIKELY(!it)) { | 5140 | 12 | return unexpected(it.error()); | 5141 | 12 | } | 5142 | | | 5143 | 178 | return read_string_impl(range, *it, value); | 5144 | 190 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_12basic_stringIT0_NSD_11char_traitsISQ_EENSD_9allocatorISQ_EEEE Line | Count | Source | 5137 | 246 | { | 5138 | 246 | auto it = read_source_impl(range, {specs}); | 5139 | 246 | if (SCN_UNLIKELY(!it)) { | 5140 | 18 | return unexpected(it.error()); | 5141 | 18 | } | 5142 | | | 5143 | 228 | return read_string_impl(range, *it, value); | 5144 | 246 | } |
|
5145 | | |
5146 | | template <typename Range, typename ValueCharT> |
5147 | | auto read(Range range, |
5148 | | const detail::format_specs& specs, |
5149 | | std::basic_string_view<ValueCharT>& value) |
5150 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5151 | 1.97k | { |
5152 | 1.97k | auto it = read_source_impl(range, {specs}); |
5153 | 1.97k | if (SCN_UNLIKELY(!it)) { |
5154 | 434 | return unexpected(it.error()); |
5155 | 434 | } |
5156 | | |
5157 | 1.54k | return read_string_view_impl(range, *it, value); |
5158 | 1.97k | } Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5151 | 298 | { | 5152 | 298 | auto it = read_source_impl(range, {specs}); | 5153 | 298 | if (SCN_UNLIKELY(!it)) { | 5154 | 8 | return unexpected(it.error()); | 5155 | 8 | } | 5156 | | | 5157 | 290 | return read_string_view_impl(range, *it, value); | 5158 | 298 | } |
_ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5151 | 1.24k | { | 5152 | 1.24k | auto it = read_source_impl(range, {specs}); | 5153 | 1.24k | if (SCN_UNLIKELY(!it)) { | 5154 | 396 | return unexpected(it.error()); | 5155 | 396 | } | 5156 | | | 5157 | 846 | return read_string_view_impl(range, *it, value); | 5158 | 1.24k | } |
Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEcEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEcEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERNSI_17basic_string_viewIT0_NSI_11char_traitsISU_EEEE Unexecuted instantiation: _ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERNSG_17basic_string_viewIT0_NSG_11char_traitsISS_EEEE _ZN3scn2v44impl25character_set_reader_implIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEwEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERNSF_17basic_string_viewIT0_NSF_11char_traitsISS_EEEE Line | Count | Source | 5151 | 190 | { | 5152 | 190 | auto it = read_source_impl(range, {specs}); | 5153 | 190 | if (SCN_UNLIKELY(!it)) { | 5154 | 12 | return unexpected(it.error()); | 5155 | 12 | } | 5156 | | | 5157 | 178 | return read_string_view_impl(range, *it, value); | 5158 | 190 | } |
_ZN3scn2v44impl25character_set_reader_implIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEwEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERNSD_17basic_string_viewIT0_NSD_11char_traitsISQ_EEEE Line | Count | Source | 5151 | 246 | { | 5152 | 246 | auto it = read_source_impl(range, {specs}); | 5153 | 246 | if (SCN_UNLIKELY(!it)) { | 5154 | 18 | return unexpected(it.error()); | 5155 | 18 | } | 5156 | | | 5157 | 228 | return read_string_view_impl(range, *it, value); | 5158 | 246 | } |
|
5159 | | |
5160 | | private: |
5161 | | struct specs_helper { |
5162 | 5.92k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {}scn::v4::impl::character_set_reader_impl<char>::specs_helper::specs_helper(scn::v4::detail::format_specs const&) Line | Count | Source | 5162 | 4.62k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::specs_helper(scn::v4::detail::format_specs const&) Line | Count | Source | 5162 | 1.30k | constexpr specs_helper(const detail::format_specs& s) : specs(s) {} |
|
5163 | | |
5164 | | constexpr bool is_char_set_in_literals(char ch) const |
5165 | 527k | { |
5166 | 527k | SCN_EXPECT(is_ascii_char(ch)); |
5167 | 527k | const auto val = |
5168 | 527k | static_cast<unsigned>(static_cast<unsigned char>(ch)); |
5169 | 527k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> |
5170 | 527k | (val % 8)) & |
5171 | 527k | 1u; |
5172 | 527k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5165 | 515k | { | 5166 | 515k | SCN_EXPECT(is_ascii_char(ch)); | 5167 | 515k | const auto val = | 5168 | 515k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5169 | 515k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5170 | 515k | (val % 8)) & | 5171 | 515k | 1u; | 5172 | 515k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_literals(char) const Line | Count | Source | 5165 | 12.1k | { | 5166 | 12.1k | SCN_EXPECT(is_ascii_char(ch)); | 5167 | 12.1k | const auto val = | 5168 | 12.1k | static_cast<unsigned>(static_cast<unsigned char>(ch)); | 5169 | 12.1k | return (static_cast<unsigned>(specs.charset_literals[val / 8]) >> | 5170 | 12.1k | (val % 8)) & | 5171 | 12.1k | 1u; | 5172 | 12.1k | } |
|
5173 | | |
5174 | | bool is_char_set_in_extra_literals(char32_t cp) const |
5175 | 105k | { |
5176 | | // TODO: binary search? |
5177 | 105k | if (nonascii.extra_ranges.empty()) { |
5178 | 0 | return false; |
5179 | 0 | } |
5180 | | |
5181 | 105k | const auto cp_val = static_cast<uint32_t>(cp); |
5182 | 105k | return std::find_if( |
5183 | 105k | nonascii.extra_ranges.begin(), |
5184 | 105k | nonascii.extra_ranges.end(), |
5185 | 12.7M | [cp_val](const auto& pair) noexcept { |
5186 | 12.7M | return static_cast<uint32_t>(pair.first) <= cp_val && |
5187 | 12.7M | static_cast<uint32_t>(pair.second) > cp_val; |
5188 | 12.7M | }) != nonascii.extra_ranges.end(); auto scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5185 | 12.7M | [cp_val](const auto& pair) noexcept { | 5186 | 12.7M | return static_cast<uint32_t>(pair.first) <= cp_val && | 5187 | 12.7M | static_cast<uint32_t>(pair.second) > cp_val; | 5188 | 12.7M | }) != nonascii.extra_ranges.end(); |
auto scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const::{lambda(auto:1 const&)#1}::operator()<std::__1::pair<char32_t, char32_t> >(std::__1::pair<char32_t, char32_t> const&) constLine | Count | Source | 5185 | 27.9k | [cp_val](const auto& pair) noexcept { | 5186 | 27.9k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5187 | 27.9k | static_cast<uint32_t>(pair.second) > cp_val; | 5188 | 27.9k | }) != nonascii.extra_ranges.end(); |
|
5189 | 105k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5175 | 102k | { | 5176 | | // TODO: binary search? | 5177 | 102k | if (nonascii.extra_ranges.empty()) { | 5178 | 0 | return false; | 5179 | 0 | } | 5180 | | | 5181 | 102k | const auto cp_val = static_cast<uint32_t>(cp); | 5182 | 102k | return std::find_if( | 5183 | 102k | nonascii.extra_ranges.begin(), | 5184 | 102k | nonascii.extra_ranges.end(), | 5185 | 102k | [cp_val](const auto& pair) noexcept { | 5186 | 102k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5187 | 102k | static_cast<uint32_t>(pair.second) > cp_val; | 5188 | 102k | }) != nonascii.extra_ranges.end(); | 5189 | 102k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::is_char_set_in_extra_literals(char32_t) const Line | Count | Source | 5175 | 3.53k | { | 5176 | | // TODO: binary search? | 5177 | 3.53k | if (nonascii.extra_ranges.empty()) { | 5178 | 0 | return false; | 5179 | 0 | } | 5180 | | | 5181 | 3.53k | const auto cp_val = static_cast<uint32_t>(cp); | 5182 | 3.53k | return std::find_if( | 5183 | 3.53k | nonascii.extra_ranges.begin(), | 5184 | 3.53k | nonascii.extra_ranges.end(), | 5185 | 3.53k | [cp_val](const auto& pair) noexcept { | 5186 | 3.53k | return static_cast<uint32_t>(pair.first) <= cp_val && | 5187 | 3.53k | static_cast<uint32_t>(pair.second) > cp_val; | 5188 | 3.53k | }) != nonascii.extra_ranges.end(); | 5189 | 3.53k | } |
|
5190 | | |
5191 | | scan_expected<void> handle_nonascii() |
5192 | 5.92k | { |
5193 | 5.92k | if (!specs.charset_has_nonascii) { |
5194 | 1.01k | return {}; |
5195 | 1.01k | } |
5196 | | |
5197 | 4.91k | auto charset_string = specs.charset_string<SourceCharT>(); |
5198 | 4.91k | auto it = detail::to_address(charset_string.begin()); |
5199 | 4.91k | auto set = detail::parse_presentation_set( |
5200 | 4.91k | it, detail::to_address(charset_string.end()), nonascii); |
5201 | 4.91k | SCN_TRY_DISCARD(nonascii.get_error()); |
5202 | 4.91k | SCN_ENSURE(it == detail::to_address(charset_string.end())); |
5203 | 4.91k | SCN_ENSURE(set == charset_string); |
5204 | | |
5205 | 4.91k | std::sort(nonascii.extra_ranges.begin(), |
5206 | 4.91k | nonascii.extra_ranges.end()); |
5207 | 4.91k | return {}; |
5208 | 4.91k | } scn::v4::impl::character_set_reader_impl<char>::specs_helper::handle_nonascii() Line | Count | Source | 5192 | 4.62k | { | 5193 | 4.62k | if (!specs.charset_has_nonascii) { | 5194 | 624 | return {}; | 5195 | 624 | } | 5196 | | | 5197 | 3.99k | auto charset_string = specs.charset_string<SourceCharT>(); | 5198 | 3.99k | auto it = detail::to_address(charset_string.begin()); | 5199 | 3.99k | auto set = detail::parse_presentation_set( | 5200 | 3.99k | it, detail::to_address(charset_string.end()), nonascii); | 5201 | 3.99k | SCN_TRY_DISCARD(nonascii.get_error()); | 5202 | 3.99k | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5203 | 3.99k | SCN_ENSURE(set == charset_string); | 5204 | | | 5205 | 3.99k | std::sort(nonascii.extra_ranges.begin(), | 5206 | 3.99k | nonascii.extra_ranges.end()); | 5207 | 3.99k | return {}; | 5208 | 3.99k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::specs_helper::handle_nonascii() Line | Count | Source | 5192 | 1.30k | { | 5193 | 1.30k | if (!specs.charset_has_nonascii) { | 5194 | 390 | return {}; | 5195 | 390 | } | 5196 | | | 5197 | 918 | auto charset_string = specs.charset_string<SourceCharT>(); | 5198 | 918 | auto it = detail::to_address(charset_string.begin()); | 5199 | 918 | auto set = detail::parse_presentation_set( | 5200 | 918 | it, detail::to_address(charset_string.end()), nonascii); | 5201 | 918 | SCN_TRY_DISCARD(nonascii.get_error()); | 5202 | 918 | SCN_ENSURE(it == detail::to_address(charset_string.end())); | 5203 | 918 | SCN_ENSURE(set == charset_string); | 5204 | | | 5205 | 918 | std::sort(nonascii.extra_ranges.begin(), | 5206 | 918 | nonascii.extra_ranges.end()); | 5207 | 918 | return {}; | 5208 | 918 | } |
|
5209 | | |
5210 | | const detail::format_specs& specs; |
5211 | | nonascii_specs_handler nonascii; |
5212 | | }; |
5213 | | |
5214 | | struct read_source_callback { |
5215 | | SCN_NODISCARD bool on_ascii_only(SourceCharT ch) const |
5216 | 14.9k | { |
5217 | 14.9k | if (!is_ascii_char(ch)) { |
5218 | 2.16k | return false; |
5219 | 2.16k | } |
5220 | | |
5221 | 12.7k | return helper.is_char_set_in_literals(static_cast<char>(ch)); |
5222 | 14.9k | } scn::v4::impl::character_set_reader_impl<char>::read_source_callback::on_ascii_only(char) const Line | Count | Source | 5216 | 10.7k | { | 5217 | 10.7k | if (!is_ascii_char(ch)) { | 5218 | 1.96k | return false; | 5219 | 1.96k | } | 5220 | | | 5221 | 8.79k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5222 | 10.7k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_ascii_only(wchar_t) const Line | Count | Source | 5216 | 4.14k | { | 5217 | 4.14k | if (!is_ascii_char(ch)) { | 5218 | 192 | return false; | 5219 | 192 | } | 5220 | | | 5221 | 3.95k | return helper.is_char_set_in_literals(static_cast<char>(ch)); | 5222 | 4.14k | } |
|
5223 | | |
5224 | | SCN_NODISCARD bool on_classic_with_extra_ranges(char32_t cp) const |
5225 | 620k | { |
5226 | 620k | if (!is_ascii_char(cp)) { |
5227 | 105k | return helper.is_char_set_in_extra_literals(cp); |
5228 | 105k | } |
5229 | | |
5230 | 515k | return helper.is_char_set_in_literals(static_cast<char>(cp)); |
5231 | 620k | } scn::v4::impl::character_set_reader_impl<char>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5225 | 609k | { | 5226 | 609k | if (!is_ascii_char(cp)) { | 5227 | 102k | return helper.is_char_set_in_extra_literals(cp); | 5228 | 102k | } | 5229 | | | 5230 | 506k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5231 | 609k | } |
scn::v4::impl::character_set_reader_impl<wchar_t>::read_source_callback::on_classic_with_extra_ranges(char32_t) const Line | Count | Source | 5225 | 11.7k | { | 5226 | 11.7k | if (!is_ascii_char(cp)) { | 5227 | 3.53k | return helper.is_char_set_in_extra_literals(cp); | 5228 | 3.53k | } | 5229 | | | 5230 | 8.19k | return helper.is_char_set_in_literals(static_cast<char>(cp)); | 5231 | 11.7k | } |
|
5232 | | |
5233 | | const specs_helper& helper; |
5234 | | detail::locale_ref loc{}; |
5235 | | }; |
5236 | | |
5237 | | template <typename Range> |
5238 | | auto read_source_impl(Range range, specs_helper helper) const |
5239 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5240 | 5.92k | { |
5241 | 5.92k | const bool is_inverted = helper.specs.charset_is_inverted; |
5242 | 5.92k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; |
5243 | | |
5244 | 5.92k | SCN_TRY_DISCARD(helper.handle_nonascii()); |
5245 | | |
5246 | 5.92k | read_source_callback cb_wrapper{helper}; |
5247 | | |
5248 | 5.92k | if (accepts_nonascii) { |
5249 | 620k | const auto cb = [&](char32_t cp) { |
5250 | 620k | return cb_wrapper.on_classic_with_extra_ranges(cp); |
5251 | 620k | }; Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5249 | 13.8k | const auto cb = [&](char32_t cp) { | 5250 | 13.8k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 13.8k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5249 | 595k | const auto cb = [&](char32_t cp) { | 5250 | 595k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 595k | }; |
Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlDiE_clEDi Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlDiE_clEDi _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5249 | 4.59k | const auto cb = [&](char32_t cp) { | 5250 | 4.59k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 4.59k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlDiE_clEDi Line | Count | Source | 5249 | 7.12k | const auto cb = [&](char32_t cp) { | 5250 | 7.12k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 7.12k | }; |
|
5252 | | |
5253 | 4.91k | if (is_inverted) { |
5254 | 1.03k | auto it = read_until_code_point(range, cb); |
5255 | 1.03k | return check_nonempty(it, range); |
5256 | 1.03k | } |
5257 | 3.87k | auto it = read_while_code_point(range, cb); |
5258 | 3.87k | return check_nonempty(it, range); |
5259 | 4.91k | } |
5260 | | |
5261 | 14.9k | const auto cb = [&](SourceCharT ch) { |
5262 | 14.9k | return cb_wrapper.on_ascii_only(ch); |
5263 | 14.9k | }; Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlcE_clEc Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlcE_clEc _ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5261 | 7.53k | const auto cb = [&](SourceCharT ch) { | 5262 | 7.53k | return cb_wrapper.on_ascii_only(ch); | 5263 | 7.53k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlcE_clEc Line | Count | Source | 5261 | 3.22k | const auto cb = [&](SourceCharT ch) { | 5262 | 3.22k | return cb_wrapper.on_ascii_only(ch); | 5263 | 3.22k | }; |
Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperEENKUlwE_clEw Unexecuted instantiation: _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperEENKUlwE_clEw _ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5261 | 2.07k | const auto cb = [&](SourceCharT ch) { | 5262 | 2.07k | return cb_wrapper.on_ascii_only(ch); | 5263 | 2.07k | }; |
_ZZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperEENKUlwE_clEw Line | Count | Source | 5261 | 2.07k | const auto cb = [&](SourceCharT ch) { | 5262 | 2.07k | return cb_wrapper.on_ascii_only(ch); | 5263 | 2.07k | }; |
|
5264 | | |
5265 | 1.01k | if (is_inverted) { |
5266 | 474 | auto it = read_until_code_unit(range, cb); |
5267 | 474 | return check_nonempty(it, range); |
5268 | 474 | } |
5269 | 540 | auto it = read_while_code_unit(range, cb); |
5270 | 540 | return check_nonempty(it, range); |
5271 | 1.01k | } Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5240 | 894 | { | 5241 | 894 | const bool is_inverted = helper.specs.charset_is_inverted; | 5242 | 894 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5243 | | | 5244 | 894 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5245 | | | 5246 | 894 | read_source_callback cb_wrapper{helper}; | 5247 | | | 5248 | 894 | if (accepts_nonascii) { | 5249 | 498 | const auto cb = [&](char32_t cp) { | 5250 | 498 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 498 | }; | 5252 | | | 5253 | 498 | if (is_inverted) { | 5254 | 240 | auto it = read_until_code_point(range, cb); | 5255 | 240 | return check_nonempty(it, range); | 5256 | 240 | } | 5257 | 258 | auto it = read_while_code_point(range, cb); | 5258 | 258 | return check_nonempty(it, range); | 5259 | 498 | } | 5260 | | | 5261 | 396 | const auto cb = [&](SourceCharT ch) { | 5262 | 396 | return cb_wrapper.on_ascii_only(ch); | 5263 | 396 | }; | 5264 | | | 5265 | 396 | if (is_inverted) { | 5266 | 180 | auto it = read_until_code_unit(range, cb); | 5267 | 180 | return check_nonempty(it, range); | 5268 | 180 | } | 5269 | 216 | auto it = read_while_code_unit(range, cb); | 5270 | 216 | return check_nonempty(it, range); | 5271 | 396 | } |
_ZNK3scn2v44impl25character_set_reader_implIcE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5240 | 3.72k | { | 5241 | 3.72k | const bool is_inverted = helper.specs.charset_is_inverted; | 5242 | 3.72k | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5243 | | | 5244 | 3.72k | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5245 | | | 5246 | 3.72k | read_source_callback cb_wrapper{helper}; | 5247 | | | 5248 | 3.72k | if (accepts_nonascii) { | 5249 | 3.49k | const auto cb = [&](char32_t cp) { | 5250 | 3.49k | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 3.49k | }; | 5252 | | | 5253 | 3.49k | if (is_inverted) { | 5254 | 246 | auto it = read_until_code_point(range, cb); | 5255 | 246 | return check_nonempty(it, range); | 5256 | 246 | } | 5257 | 3.25k | auto it = read_while_code_point(range, cb); | 5258 | 3.25k | return check_nonempty(it, range); | 5259 | 3.49k | } | 5260 | | | 5261 | 228 | const auto cb = [&](SourceCharT ch) { | 5262 | 228 | return cb_wrapper.on_ascii_only(ch); | 5263 | 228 | }; | 5264 | | | 5265 | 228 | if (is_inverted) { | 5266 | 102 | auto it = read_until_code_unit(range, cb); | 5267 | 102 | return check_nonempty(it, range); | 5268 | 102 | } | 5269 | 126 | auto it = read_while_code_unit(range, cb); | 5270 | 126 | return check_nonempty(it, range); | 5271 | 228 | } |
Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NS3_12specs_helperE Unexecuted instantiation: _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS3_12specs_helperE _ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS3_12specs_helperE Line | Count | Source | 5240 | 570 | { | 5241 | 570 | const bool is_inverted = helper.specs.charset_is_inverted; | 5242 | 570 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5243 | | | 5244 | 570 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5245 | | | 5246 | 570 | read_source_callback cb_wrapper{helper}; | 5247 | | | 5248 | 570 | if (accepts_nonascii) { | 5249 | 360 | const auto cb = [&](char32_t cp) { | 5250 | 360 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 360 | }; | 5252 | | | 5253 | 360 | if (is_inverted) { | 5254 | 198 | auto it = read_until_code_point(range, cb); | 5255 | 198 | return check_nonempty(it, range); | 5256 | 198 | } | 5257 | 162 | auto it = read_while_code_point(range, cb); | 5258 | 162 | return check_nonempty(it, range); | 5259 | 360 | } | 5260 | | | 5261 | 210 | const auto cb = [&](SourceCharT ch) { | 5262 | 210 | return cb_wrapper.on_ascii_only(ch); | 5263 | 210 | }; | 5264 | | | 5265 | 210 | if (is_inverted) { | 5266 | 114 | auto it = read_until_code_unit(range, cb); | 5267 | 114 | return check_nonempty(it, range); | 5268 | 114 | } | 5269 | 96 | auto it = read_while_code_unit(range, cb); | 5270 | 96 | return check_nonempty(it, range); | 5271 | 210 | } |
_ZNK3scn2v44impl25character_set_reader_implIwE16read_source_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS3_12specs_helperE Line | Count | Source | 5240 | 738 | { | 5241 | 738 | const bool is_inverted = helper.specs.charset_is_inverted; | 5242 | 738 | const bool accepts_nonascii = helper.specs.charset_has_nonascii; | 5243 | | | 5244 | 738 | SCN_TRY_DISCARD(helper.handle_nonascii()); | 5245 | | | 5246 | 738 | read_source_callback cb_wrapper{helper}; | 5247 | | | 5248 | 738 | if (accepts_nonascii) { | 5249 | 558 | const auto cb = [&](char32_t cp) { | 5250 | 558 | return cb_wrapper.on_classic_with_extra_ranges(cp); | 5251 | 558 | }; | 5252 | | | 5253 | 558 | if (is_inverted) { | 5254 | 354 | auto it = read_until_code_point(range, cb); | 5255 | 354 | return check_nonempty(it, range); | 5256 | 354 | } | 5257 | 204 | auto it = read_while_code_point(range, cb); | 5258 | 204 | return check_nonempty(it, range); | 5259 | 558 | } | 5260 | | | 5261 | 180 | const auto cb = [&](SourceCharT ch) { | 5262 | 180 | return cb_wrapper.on_ascii_only(ch); | 5263 | 180 | }; | 5264 | | | 5265 | 180 | if (is_inverted) { | 5266 | 78 | auto it = read_until_code_unit(range, cb); | 5267 | 78 | return check_nonempty(it, range); | 5268 | 78 | } | 5269 | 102 | auto it = read_while_code_unit(range, cb); | 5270 | 102 | return check_nonempty(it, range); | 5271 | 180 | } |
|
5272 | | |
5273 | | template <typename Iterator, typename Range> |
5274 | | static scan_expected<Iterator> check_nonempty(const Iterator& it, |
5275 | | Range range) |
5276 | 5.92k | { |
5277 | 5.92k | if (it == range.begin()) { |
5278 | 1.30k | return detail::unexpected_scan_error( |
5279 | 1.30k | scan_error::invalid_scanned_value, |
5280 | 1.30k | "No characters matched in [character set]"); |
5281 | 1.30k | } |
5282 | | |
5283 | 4.62k | return it; |
5284 | 5.92k | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::detail::basic_scan_buffer<char>::forward_iterator const&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<char>::forward_iterator, scn::v4::ranges::default_sentinel_t>) scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> > scn::v4::impl::character_set_reader_impl<char>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<char const*, char const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >) Line | Count | Source | 5276 | 894 | { | 5277 | 894 | if (it == range.begin()) { | 5278 | 24 | return detail::unexpected_scan_error( | 5279 | 24 | scan_error::invalid_scanned_value, | 5280 | 24 | "No characters matched in [character set]"); | 5281 | 24 | } | 5282 | | | 5283 | 870 | return it; | 5284 | 894 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::character_set_reader_impl<char>::check_nonempty<char const*, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*> >(char const* const&, scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>) Line | Count | Source | 5276 | 3.72k | { | 5277 | 3.72k | if (it == range.begin()) { | 5278 | 1.18k | return detail::unexpected_scan_error( | 5279 | 1.18k | scan_error::invalid_scanned_value, | 5280 | 1.18k | "No characters matched in [character set]"); | 5281 | 1.18k | } | 5282 | | | 5283 | 2.53k | return it; | 5284 | 3.72k | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t> >(scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator const&, scn::v4::ranges::detail::subrange_::subrange<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator, scn::v4::ranges::default_sentinel_t>) scn::v4::scan_expected<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> > scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*>, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> > >(scn::v4::impl::counted_width_iterator_impl::counted_width_iterator<wchar_t const*, wchar_t const*> const&, scn::v4::impl::take_width_view<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >) Line | Count | Source | 5276 | 570 | { | 5277 | 570 | if (it == range.begin()) { | 5278 | 36 | return detail::unexpected_scan_error( | 5279 | 36 | scan_error::invalid_scanned_value, | 5280 | 36 | "No characters matched in [character set]"); | 5281 | 36 | } | 5282 | | | 5283 | 534 | return it; | 5284 | 570 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::character_set_reader_impl<wchar_t>::check_nonempty<wchar_t const*, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*> >(wchar_t const* const&, scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>) Line | Count | Source | 5276 | 738 | { | 5277 | 738 | if (it == range.begin()) { | 5278 | 54 | return detail::unexpected_scan_error( | 5279 | 54 | scan_error::invalid_scanned_value, | 5280 | 54 | "No characters matched in [character set]"); | 5281 | 54 | } | 5282 | | | 5283 | 684 | return it; | 5284 | 738 | } |
|
5285 | | }; |
5286 | | |
5287 | | template <typename SourceCharT> |
5288 | | class string_reader |
5289 | | : public reader_base<string_reader<SourceCharT>, SourceCharT> { |
5290 | | public: |
5291 | 16.9k | constexpr string_reader() = default; scn::v4::impl::string_reader<char>::string_reader() Line | Count | Source | 5291 | 11.0k | constexpr string_reader() = default; |
scn::v4::impl::string_reader<wchar_t>::string_reader() Line | Count | Source | 5291 | 5.88k | constexpr string_reader() = default; |
|
5292 | | |
5293 | | void check_specs_impl(const detail::format_specs& specs, |
5294 | | reader_error_handler& eh) |
5295 | 13.3k | { |
5296 | 13.3k | detail::check_string_type_specs(specs, eh); |
5297 | | |
5298 | 13.3k | SCN_GCC_PUSH |
5299 | 13.3k | SCN_GCC_IGNORE("-Wswitch") |
5300 | 13.3k | SCN_GCC_IGNORE("-Wswitch-default") |
5301 | | |
5302 | 13.3k | SCN_CLANG_PUSH |
5303 | 13.3k | SCN_CLANG_IGNORE("-Wswitch") |
5304 | 13.3k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5305 | | |
5306 | 13.3k | switch (specs.type) { |
5307 | 3.70k | case detail::presentation_type::none: |
5308 | 3.70k | m_type = reader_type::word; |
5309 | 3.70k | break; |
5310 | | |
5311 | 1.07k | case detail::presentation_type::string: { |
5312 | 1.07k | if (specs.align == detail::align_type::left || |
5313 | 1.07k | specs.align == detail::align_type::center) { |
5314 | 714 | m_type = reader_type::custom_word; |
5315 | 714 | } |
5316 | 360 | else { |
5317 | 360 | m_type = reader_type::word; |
5318 | 360 | } |
5319 | 1.07k | break; |
5320 | 0 | } |
5321 | | |
5322 | 270 | case detail::presentation_type::character: |
5323 | 270 | m_type = reader_type::character; |
5324 | 270 | break; |
5325 | | |
5326 | 5.93k | case detail::presentation_type::string_set: |
5327 | 5.93k | m_type = reader_type::character_set; |
5328 | 5.93k | break; |
5329 | | |
5330 | 102 | case detail::presentation_type::regex: |
5331 | 102 | m_type = reader_type::regex; |
5332 | 102 | break; |
5333 | | |
5334 | 1.16k | case detail::presentation_type::regex_escaped: |
5335 | 1.16k | m_type = reader_type::regex_escaped; |
5336 | 1.16k | break; |
5337 | 13.3k | } |
5338 | | |
5339 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default |
5340 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default |
5341 | 13.3k | } scn::v4::impl::string_reader<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5295 | 9.17k | { | 5296 | 9.17k | detail::check_string_type_specs(specs, eh); | 5297 | | | 5298 | 9.17k | SCN_GCC_PUSH | 5299 | 9.17k | SCN_GCC_IGNORE("-Wswitch") | 5300 | 9.17k | SCN_GCC_IGNORE("-Wswitch-default") | 5301 | | | 5302 | 9.17k | SCN_CLANG_PUSH | 5303 | 9.17k | SCN_CLANG_IGNORE("-Wswitch") | 5304 | 9.17k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5305 | | | 5306 | 9.17k | switch (specs.type) { | 5307 | 1.90k | case detail::presentation_type::none: | 5308 | 1.90k | m_type = reader_type::word; | 5309 | 1.90k | break; | 5310 | | | 5311 | 774 | case detail::presentation_type::string: { | 5312 | 774 | if (specs.align == detail::align_type::left || | 5313 | 774 | specs.align == detail::align_type::center) { | 5314 | 510 | m_type = reader_type::custom_word; | 5315 | 510 | } | 5316 | 264 | else { | 5317 | 264 | m_type = reader_type::word; | 5318 | 264 | } | 5319 | 774 | break; | 5320 | 0 | } | 5321 | | | 5322 | 180 | case detail::presentation_type::character: | 5323 | 180 | m_type = reader_type::character; | 5324 | 180 | break; | 5325 | | | 5326 | 4.62k | case detail::presentation_type::string_set: | 5327 | 4.62k | m_type = reader_type::character_set; | 5328 | 4.62k | break; | 5329 | | | 5330 | 102 | case detail::presentation_type::regex: | 5331 | 102 | m_type = reader_type::regex; | 5332 | 102 | break; | 5333 | | | 5334 | 1.16k | case detail::presentation_type::regex_escaped: | 5335 | 1.16k | m_type = reader_type::regex_escaped; | 5336 | 1.16k | break; | 5337 | 9.17k | } | 5338 | | | 5339 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5340 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5341 | 9.17k | } |
scn::v4::impl::string_reader<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5295 | 4.21k | { | 5296 | 4.21k | detail::check_string_type_specs(specs, eh); | 5297 | | | 5298 | 4.21k | SCN_GCC_PUSH | 5299 | 4.21k | SCN_GCC_IGNORE("-Wswitch") | 5300 | 4.21k | SCN_GCC_IGNORE("-Wswitch-default") | 5301 | | | 5302 | 4.21k | SCN_CLANG_PUSH | 5303 | 4.21k | SCN_CLANG_IGNORE("-Wswitch") | 5304 | 4.21k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5305 | | | 5306 | 4.21k | switch (specs.type) { | 5307 | 1.80k | case detail::presentation_type::none: | 5308 | 1.80k | m_type = reader_type::word; | 5309 | 1.80k | break; | 5310 | | | 5311 | 300 | case detail::presentation_type::string: { | 5312 | 300 | if (specs.align == detail::align_type::left || | 5313 | 300 | specs.align == detail::align_type::center) { | 5314 | 204 | m_type = reader_type::custom_word; | 5315 | 204 | } | 5316 | 96 | else { | 5317 | 96 | m_type = reader_type::word; | 5318 | 96 | } | 5319 | 300 | break; | 5320 | 0 | } | 5321 | | | 5322 | 90 | case detail::presentation_type::character: | 5323 | 90 | m_type = reader_type::character; | 5324 | 90 | break; | 5325 | | | 5326 | 1.30k | case detail::presentation_type::string_set: | 5327 | 1.30k | m_type = reader_type::character_set; | 5328 | 1.30k | break; | 5329 | | | 5330 | 0 | case detail::presentation_type::regex: | 5331 | 0 | m_type = reader_type::regex; | 5332 | 0 | break; | 5333 | | | 5334 | 0 | case detail::presentation_type::regex_escaped: | 5335 | 0 | m_type = reader_type::regex_escaped; | 5336 | 0 | break; | 5337 | 4.21k | } | 5338 | | | 5339 | | SCN_CLANG_POP // -Wswitch-enum, -Wcovered-switch-default | 5340 | | SCN_GCC_POP // -Wswitch-enum, -Wswitch-default | 5341 | 4.21k | } |
|
5342 | | |
5343 | | bool skip_ws_before_read() const |
5344 | 21.3k | { |
5345 | 21.3k | return m_type == reader_type::word; |
5346 | 21.3k | } scn::v4::impl::string_reader<char>::skip_ws_before_read() const Line | Count | Source | 5344 | 14.4k | { | 5345 | 14.4k | return m_type == reader_type::word; | 5346 | 14.4k | } |
scn::v4::impl::string_reader<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5344 | 6.87k | { | 5345 | 6.87k | return m_type == reader_type::word; | 5346 | 6.87k | } |
|
5347 | | |
5348 | | template <typename Range, typename Value> |
5349 | | auto read_default(Range range, Value& value, detail::locale_ref loc) |
5350 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5351 | 3.56k | { |
5352 | 3.56k | SCN_UNUSED(loc); |
5353 | 3.56k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5354 | 3.56k | } _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5351 | 632 | { | 5352 | 632 | SCN_UNUSED(loc); | 5353 | 632 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5354 | 632 | } |
_ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5351 | 632 | { | 5352 | 632 | SCN_UNUSED(loc); | 5353 | 632 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5354 | 632 | } |
_ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5351 | 632 | { | 5352 | 632 | SCN_UNUSED(loc); | 5353 | 632 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5354 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5351 | 556 | { | 5352 | 556 | SCN_UNUSED(loc); | 5353 | 556 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5354 | 556 | } |
_ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RT0_NS0_6detail10locale_refE Line | Count | Source | 5351 | 556 | { | 5352 | 556 | SCN_UNUSED(loc); | 5353 | 556 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5354 | 556 | } |
_ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RT0_NS0_6detail10locale_refE Line | Count | Source | 5351 | 556 | { | 5352 | 556 | SCN_UNUSED(loc); | 5353 | 556 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5354 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RT0_NS9_10locale_refE |
5355 | | |
5356 | | template <typename Range, typename Value> |
5357 | | auto read_specs(Range range, |
5358 | | const detail::format_specs& specs, |
5359 | | Value& value, |
5360 | | detail::locale_ref loc) |
5361 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5362 | 12.0k | { |
5363 | 12.0k | SCN_UNUSED(loc); |
5364 | 12.0k | return read_impl(range, specs, value); |
5365 | 12.0k | } Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5362 | 1.08k | { | 5363 | 1.08k | SCN_UNUSED(loc); | 5364 | 1.08k | return read_impl(range, specs, value); | 5365 | 1.08k | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5362 | 1.79k | { | 5363 | 1.79k | SCN_UNUSED(loc); | 5364 | 1.79k | return read_impl(range, specs, value); | 5365 | 1.79k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5362 | 1.08k | { | 5363 | 1.08k | SCN_UNUSED(loc); | 5364 | 1.08k | return read_impl(range, specs, value); | 5365 | 1.08k | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5362 | 1.79k | { | 5363 | 1.79k | SCN_UNUSED(loc); | 5364 | 1.79k | return read_impl(range, specs, value); | 5365 | 1.79k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5362 | 1.08k | { | 5363 | 1.08k | SCN_UNUSED(loc); | 5364 | 1.08k | return read_impl(range, specs, value); | 5365 | 1.08k | } |
_ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5362 | 1.79k | { | 5363 | 1.79k | SCN_UNUSED(loc); | 5364 | 1.79k | return read_impl(range, specs, value); | 5365 | 1.79k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5362 | 450 | { | 5363 | 450 | SCN_UNUSED(loc); | 5364 | 450 | return read_impl(range, specs, value); | 5365 | 450 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5362 | 698 | { | 5363 | 698 | SCN_UNUSED(loc); | 5364 | 698 | return read_impl(range, specs, value); | 5365 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_NST_10locale_refE Line | Count | Source | 5362 | 450 | { | 5363 | 450 | SCN_UNUSED(loc); | 5364 | 450 | return read_impl(range, specs, value); | 5365 | 450 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5362 | 698 | { | 5363 | 698 | SCN_UNUSED(loc); | 5364 | 698 | return read_impl(range, specs, value); | 5365 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_NSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_NS9_10locale_refE _ZN3scn2v44impl13string_readerIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_NSR_10locale_refE Line | Count | Source | 5362 | 450 | { | 5363 | 450 | SCN_UNUSED(loc); | 5364 | 450 | return read_impl(range, specs, value); | 5365 | 450 | } |
_ZN3scn2v44impl13string_readerIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_NSP_10locale_refE Line | Count | Source | 5362 | 698 | { | 5363 | 698 | SCN_UNUSED(loc); | 5364 | 698 | return read_impl(range, specs, value); | 5365 | 698 | } |
|
5366 | | |
5367 | | protected: |
5368 | | enum class reader_type { |
5369 | | word, |
5370 | | custom_word, |
5371 | | character, |
5372 | | character_set, |
5373 | | regex, |
5374 | | regex_escaped, |
5375 | | }; |
5376 | | |
5377 | | template <typename Range, typename Value> |
5378 | | auto read_impl(Range range, const detail::format_specs& specs, Value& value) |
5379 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5380 | 12.0k | { |
5381 | 12.0k | SCN_CLANG_PUSH |
5382 | 12.0k | SCN_CLANG_IGNORE("-Wcovered-switch-default") |
5383 | | |
5384 | 12.0k | switch (m_type) { |
5385 | 3.93k | case reader_type::word: |
5386 | 3.93k | return word_reader_impl<SourceCharT>{}.read(range, value); |
5387 | | |
5388 | 702 | case reader_type::custom_word: |
5389 | 702 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, |
5390 | 702 | value); |
5391 | | |
5392 | 246 | case reader_type::character: |
5393 | 246 | return character_reader_impl<SourceCharT>{}.read(range, value); |
5394 | | |
5395 | 5.92k | case reader_type::character_set: |
5396 | 5.92k | return character_set_reader_impl<SourceCharT>{}.read( |
5397 | 5.92k | range, specs, value); |
5398 | | |
5399 | 0 | #if !SCN_DISABLE_REGEX |
5400 | 102 | case reader_type::regex: |
5401 | 102 | return regex_string_reader_impl<SourceCharT>{}.read( |
5402 | 102 | range, specs.charset_string<SourceCharT>(), |
5403 | 102 | specs.regexp_flags, value); |
5404 | | |
5405 | 1.16k | case reader_type::regex_escaped: |
5406 | 1.16k | return regex_string_reader_impl<SourceCharT>{}.read( |
5407 | 1.16k | range, |
5408 | 1.16k | get_unescaped_regex_pattern( |
5409 | 1.16k | specs.charset_string<SourceCharT>()), |
5410 | 1.16k | specs.regexp_flags, value); |
5411 | 0 | #endif |
5412 | | |
5413 | 0 | default: |
5414 | 0 | SCN_EXPECT(false); |
5415 | 12.0k | SCN_UNREACHABLE; |
5416 | 12.0k | } |
5417 | | |
5418 | 12.0k | SCN_CLANG_POP |
5419 | 12.0k | } Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 1.08k | { | 5381 | 1.08k | SCN_CLANG_PUSH | 5382 | 1.08k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 1.08k | switch (m_type) { | 5385 | 350 | case reader_type::word: | 5386 | 350 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 106 | case reader_type::custom_word: | 5389 | 106 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 106 | value); | 5391 | | | 5392 | 56 | case reader_type::character: | 5393 | 56 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 298 | case reader_type::character_set: | 5396 | 298 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 298 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 2 | case reader_type::regex: | 5401 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 2 | range, specs.charset_string<SourceCharT>(), | 5403 | 2 | specs.regexp_flags, value); | 5404 | | | 5405 | 268 | case reader_type::regex_escaped: | 5406 | 268 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 268 | range, | 5408 | 268 | get_unescaped_regex_pattern( | 5409 | 268 | specs.charset_string<SourceCharT>()), | 5410 | 268 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 1.08k | SCN_UNREACHABLE; | 5416 | 1.08k | } | 5417 | | | 5418 | 1.08k | SCN_CLANG_POP | 5419 | 1.08k | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 1.79k | { | 5381 | 1.79k | SCN_CLANG_PUSH | 5382 | 1.79k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 1.79k | switch (m_type) { | 5385 | 340 | case reader_type::word: | 5386 | 340 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 62 | case reader_type::custom_word: | 5389 | 62 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 62 | value); | 5391 | | | 5392 | 0 | case reader_type::character: | 5393 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 1.24k | case reader_type::character_set: | 5396 | 1.24k | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 1.24k | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 32 | case reader_type::regex: | 5401 | 32 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 32 | range, specs.charset_string<SourceCharT>(), | 5403 | 32 | specs.regexp_flags, value); | 5404 | | | 5405 | 120 | case reader_type::regex_escaped: | 5406 | 120 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 120 | range, | 5408 | 120 | get_unescaped_regex_pattern( | 5409 | 120 | specs.charset_string<SourceCharT>()), | 5410 | 120 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 1.79k | SCN_UNREACHABLE; | 5416 | 1.79k | } | 5417 | | | 5418 | 1.79k | SCN_CLANG_POP | 5419 | 1.79k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 1.08k | { | 5381 | 1.08k | SCN_CLANG_PUSH | 5382 | 1.08k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 1.08k | switch (m_type) { | 5385 | 350 | case reader_type::word: | 5386 | 350 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 106 | case reader_type::custom_word: | 5389 | 106 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 106 | value); | 5391 | | | 5392 | 56 | case reader_type::character: | 5393 | 56 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 298 | case reader_type::character_set: | 5396 | 298 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 298 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 2 | case reader_type::regex: | 5401 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 2 | range, specs.charset_string<SourceCharT>(), | 5403 | 2 | specs.regexp_flags, value); | 5404 | | | 5405 | 268 | case reader_type::regex_escaped: | 5406 | 268 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 268 | range, | 5408 | 268 | get_unescaped_regex_pattern( | 5409 | 268 | specs.charset_string<SourceCharT>()), | 5410 | 268 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 1.08k | SCN_UNREACHABLE; | 5416 | 1.08k | } | 5417 | | | 5418 | 1.08k | SCN_CLANG_POP | 5419 | 1.08k | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 1.79k | { | 5381 | 1.79k | SCN_CLANG_PUSH | 5382 | 1.79k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 1.79k | switch (m_type) { | 5385 | 340 | case reader_type::word: | 5386 | 340 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 62 | case reader_type::custom_word: | 5389 | 62 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 62 | value); | 5391 | | | 5392 | 0 | case reader_type::character: | 5393 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 1.24k | case reader_type::character_set: | 5396 | 1.24k | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 1.24k | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 32 | case reader_type::regex: | 5401 | 32 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 32 | range, specs.charset_string<SourceCharT>(), | 5403 | 32 | specs.regexp_flags, value); | 5404 | | | 5405 | 120 | case reader_type::regex_escaped: | 5406 | 120 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 120 | range, | 5408 | 120 | get_unescaped_regex_pattern( | 5409 | 120 | specs.charset_string<SourceCharT>()), | 5410 | 120 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 1.79k | SCN_UNREACHABLE; | 5416 | 1.79k | } | 5417 | | | 5418 | 1.79k | SCN_CLANG_POP | 5419 | 1.79k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 1.08k | { | 5381 | 1.08k | SCN_CLANG_PUSH | 5382 | 1.08k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 1.08k | switch (m_type) { | 5385 | 350 | case reader_type::word: | 5386 | 350 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 106 | case reader_type::custom_word: | 5389 | 106 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 106 | value); | 5391 | | | 5392 | 56 | case reader_type::character: | 5393 | 56 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 298 | case reader_type::character_set: | 5396 | 298 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 298 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 2 | case reader_type::regex: | 5401 | 2 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 2 | range, specs.charset_string<SourceCharT>(), | 5403 | 2 | specs.regexp_flags, value); | 5404 | | | 5405 | 268 | case reader_type::regex_escaped: | 5406 | 268 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 268 | range, | 5408 | 268 | get_unescaped_regex_pattern( | 5409 | 268 | specs.charset_string<SourceCharT>()), | 5410 | 268 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 1.08k | SCN_UNREACHABLE; | 5416 | 1.08k | } | 5417 | | | 5418 | 1.08k | SCN_CLANG_POP | 5419 | 1.08k | } |
_ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 1.79k | { | 5381 | 1.79k | SCN_CLANG_PUSH | 5382 | 1.79k | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 1.79k | switch (m_type) { | 5385 | 340 | case reader_type::word: | 5386 | 340 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 62 | case reader_type::custom_word: | 5389 | 62 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 62 | value); | 5391 | | | 5392 | 0 | case reader_type::character: | 5393 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 1.24k | case reader_type::character_set: | 5396 | 1.24k | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 1.24k | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 32 | case reader_type::regex: | 5401 | 32 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 32 | range, specs.charset_string<SourceCharT>(), | 5403 | 32 | specs.regexp_flags, value); | 5404 | | | 5405 | 120 | case reader_type::regex_escaped: | 5406 | 120 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 120 | range, | 5408 | 120 | get_unescaped_regex_pattern( | 5409 | 120 | specs.charset_string<SourceCharT>()), | 5410 | 120 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 1.79k | SCN_UNREACHABLE; | 5416 | 1.79k | } | 5417 | | | 5418 | 1.79k | SCN_CLANG_POP | 5419 | 1.79k | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIcE9read_implINS0_6ranges6detail9subrange_8subrangeIPKcSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIcNSH_11char_traitsIcEENSH_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIcNSF_11char_traitsIcEENSF_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIcNSE_11char_traitsIcEENSE_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 450 | { | 5381 | 450 | SCN_CLANG_PUSH | 5382 | 450 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 450 | switch (m_type) { | 5385 | 206 | case reader_type::word: | 5386 | 206 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 28 | case reader_type::custom_word: | 5389 | 28 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 28 | value); | 5391 | | | 5392 | 26 | case reader_type::character: | 5393 | 26 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 190 | case reader_type::character_set: | 5396 | 190 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 190 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 0 | case reader_type::regex: | 5401 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 0 | range, specs.charset_string<SourceCharT>(), | 5403 | 0 | specs.regexp_flags, value); | 5404 | | | 5405 | 0 | case reader_type::regex_escaped: | 5406 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 0 | range, | 5408 | 0 | get_unescaped_regex_pattern( | 5409 | 0 | specs.charset_string<SourceCharT>()), | 5410 | 0 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 450 | SCN_UNREACHABLE; | 5416 | 450 | } | 5417 | | | 5418 | 450 | SCN_CLANG_POP | 5419 | 450 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 698 | { | 5381 | 698 | SCN_CLANG_PUSH | 5382 | 698 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 698 | switch (m_type) { | 5385 | 414 | case reader_type::word: | 5386 | 414 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 38 | case reader_type::custom_word: | 5389 | 38 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 38 | value); | 5391 | | | 5392 | 0 | case reader_type::character: | 5393 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 246 | case reader_type::character_set: | 5396 | 246 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 246 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 0 | case reader_type::regex: | 5401 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 0 | range, specs.charset_string<SourceCharT>(), | 5403 | 0 | specs.regexp_flags, value); | 5404 | | | 5405 | 0 | case reader_type::regex_escaped: | 5406 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 0 | range, | 5408 | 0 | get_unescaped_regex_pattern( | 5409 | 0 | specs.charset_string<SourceCharT>()), | 5410 | 0 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 698 | SCN_UNREACHABLE; | 5416 | 698 | } | 5417 | | | 5418 | 698 | SCN_CLANG_POP | 5419 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__112basic_stringIwNSH_11char_traitsIwEENSH_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESQ_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__112basic_stringIwNSF_11char_traitsIwEENSF_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESO_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__112basic_stringIwNSE_11char_traitsIwEENSE_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESN_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 450 | { | 5381 | 450 | SCN_CLANG_PUSH | 5382 | 450 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 450 | switch (m_type) { | 5385 | 206 | case reader_type::word: | 5386 | 206 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 28 | case reader_type::custom_word: | 5389 | 28 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 28 | value); | 5391 | | | 5392 | 26 | case reader_type::character: | 5393 | 26 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 190 | case reader_type::character_set: | 5396 | 190 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 190 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 0 | case reader_type::regex: | 5401 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 0 | range, specs.charset_string<SourceCharT>(), | 5403 | 0 | specs.regexp_flags, value); | 5404 | | | 5405 | 0 | case reader_type::regex_escaped: | 5406 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 0 | range, | 5408 | 0 | get_unescaped_regex_pattern( | 5409 | 0 | specs.charset_string<SourceCharT>()), | 5410 | 0 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 450 | SCN_UNREACHABLE; | 5416 | 450 | } | 5417 | | | 5418 | 450 | SCN_CLANG_POP | 5419 | 450 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__112basic_stringIwNSC_11char_traitsIwEENSC_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 698 | { | 5381 | 698 | SCN_CLANG_PUSH | 5382 | 698 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 698 | switch (m_type) { | 5385 | 414 | case reader_type::word: | 5386 | 414 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 38 | case reader_type::custom_word: | 5389 | 38 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 38 | value); | 5391 | | | 5392 | 0 | case reader_type::character: | 5393 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 246 | case reader_type::character_set: | 5396 | 246 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 246 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 0 | case reader_type::regex: | 5401 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 0 | range, specs.charset_string<SourceCharT>(), | 5403 | 0 | specs.regexp_flags, value); | 5404 | | | 5405 | 0 | case reader_type::regex_escaped: | 5406 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 0 | range, | 5408 | 0 | get_unescaped_regex_pattern( | 5409 | 0 | specs.charset_string<SourceCharT>()), | 5410 | 0 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 698 | SCN_UNREACHABLE; | 5416 | 698 | } | 5417 | | | 5418 | 698 | SCN_CLANG_POP | 5419 | 698 | } |
Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIcNSH_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIcNSF_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIcNSE_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIcNSC_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEENSt3__117basic_string_viewIwNSH_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSH_9add_constIT_E4typeEEEEEEESO_RKNSA_12format_specsERT0_ Unexecuted instantiation: _ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEENSt3__117basic_string_viewIwNSF_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSF_9add_constIT_E4typeEEEEEEESM_RKNS9_12format_specsERT0_ _ZN3scn2v44impl13string_readerIwE9read_implINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEENSt3__117basic_string_viewIwNSE_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSE_9add_constIT_E4typeEEEEEEESL_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 450 | { | 5381 | 450 | SCN_CLANG_PUSH | 5382 | 450 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 450 | switch (m_type) { | 5385 | 206 | case reader_type::word: | 5386 | 206 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 28 | case reader_type::custom_word: | 5389 | 28 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 28 | value); | 5391 | | | 5392 | 26 | case reader_type::character: | 5393 | 26 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 190 | case reader_type::character_set: | 5396 | 190 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 190 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 0 | case reader_type::regex: | 5401 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 0 | range, specs.charset_string<SourceCharT>(), | 5403 | 0 | specs.regexp_flags, value); | 5404 | | | 5405 | 0 | case reader_type::regex_escaped: | 5406 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 0 | range, | 5408 | 0 | get_unescaped_regex_pattern( | 5409 | 0 | specs.charset_string<SourceCharT>()), | 5410 | 0 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 450 | SCN_UNREACHABLE; | 5416 | 450 | } | 5417 | | | 5418 | 450 | SCN_CLANG_POP | 5419 | 450 | } |
_ZN3scn2v44impl13string_readerIwE9read_implINS0_6ranges6detail9subrange_8subrangeIPKwSA_EENSt3__117basic_string_viewIwNSC_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSC_9add_constIT_E4typeEEEEEEESJ_RKNS0_6detail12format_specsERT0_ Line | Count | Source | 5380 | 698 | { | 5381 | 698 | SCN_CLANG_PUSH | 5382 | 698 | SCN_CLANG_IGNORE("-Wcovered-switch-default") | 5383 | | | 5384 | 698 | switch (m_type) { | 5385 | 414 | case reader_type::word: | 5386 | 414 | return word_reader_impl<SourceCharT>{}.read(range, value); | 5387 | | | 5388 | 38 | case reader_type::custom_word: | 5389 | 38 | return custom_word_reader_impl<SourceCharT>{}.read(range, specs, | 5390 | 38 | value); | 5391 | | | 5392 | 0 | case reader_type::character: | 5393 | 0 | return character_reader_impl<SourceCharT>{}.read(range, value); | 5394 | | | 5395 | 246 | case reader_type::character_set: | 5396 | 246 | return character_set_reader_impl<SourceCharT>{}.read( | 5397 | 246 | range, specs, value); | 5398 | | | 5399 | 0 | #if !SCN_DISABLE_REGEX | 5400 | 0 | case reader_type::regex: | 5401 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5402 | 0 | range, specs.charset_string<SourceCharT>(), | 5403 | 0 | specs.regexp_flags, value); | 5404 | | | 5405 | 0 | case reader_type::regex_escaped: | 5406 | 0 | return regex_string_reader_impl<SourceCharT>{}.read( | 5407 | 0 | range, | 5408 | 0 | get_unescaped_regex_pattern( | 5409 | 0 | specs.charset_string<SourceCharT>()), | 5410 | 0 | specs.regexp_flags, value); | 5411 | 0 | #endif | 5412 | | | 5413 | 0 | default: | 5414 | 0 | SCN_EXPECT(false); | 5415 | 698 | SCN_UNREACHABLE; | 5416 | 698 | } | 5417 | | | 5418 | 698 | SCN_CLANG_POP | 5419 | 698 | } |
|
5420 | | |
5421 | | reader_type m_type{reader_type::word}; |
5422 | | }; |
5423 | | |
5424 | | template <typename SourceCharT> |
5425 | | class reader_impl_for_string : public string_reader<SourceCharT> {}; |
5426 | | |
5427 | | ///////////////////////////////////////////////////////////////// |
5428 | | // Boolean reader |
5429 | | ///////////////////////////////////////////////////////////////// |
5430 | | |
5431 | | struct bool_reader_base { |
5432 | | enum options_type { allow_text = 1, allow_numeric = 2 }; |
5433 | | |
5434 | 1.18k | constexpr bool_reader_base() = default; |
5435 | 1.78k | constexpr bool_reader_base(unsigned opt) : m_options(opt) {} |
5436 | | |
5437 | | template <typename Range> |
5438 | | auto read_classic(Range range, bool& value) const |
5439 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5440 | 2.86k | { |
5441 | 2.86k | scan_error err{scan_error::invalid_scanned_value, |
5442 | 2.86k | "Failed to read boolean"}; |
5443 | | |
5444 | 2.86k | if (m_options & allow_numeric) { |
5445 | 2.52k | if (auto r = read_numeric(range, value)) { |
5446 | 52 | return *r; |
5447 | 52 | } |
5448 | 2.46k | else { |
5449 | 2.46k | err = r.error(); |
5450 | 2.46k | } |
5451 | 2.52k | } |
5452 | | |
5453 | 2.81k | if (m_options & allow_text) { |
5454 | 2.70k | if (auto r = read_textual_classic(range, value)) { |
5455 | 0 | return *r; |
5456 | 0 | } |
5457 | 2.70k | else { |
5458 | 2.70k | err = r.error(); |
5459 | 2.70k | } |
5460 | 2.70k | } |
5461 | | |
5462 | 2.81k | return unexpected(err); |
5463 | 2.81k | } _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5440 | 1.05k | { | 5441 | 1.05k | scan_error err{scan_error::invalid_scanned_value, | 5442 | 1.05k | "Failed to read boolean"}; | 5443 | | | 5444 | 1.05k | if (m_options & allow_numeric) { | 5445 | 918 | if (auto r = read_numeric(range, value)) { | 5446 | 0 | return *r; | 5447 | 0 | } | 5448 | 918 | else { | 5449 | 918 | err = r.error(); | 5450 | 918 | } | 5451 | 918 | } | 5452 | | | 5453 | 1.05k | if (m_options & allow_text) { | 5454 | 1.03k | if (auto r = read_textual_classic(range, value)) { | 5455 | 0 | return *r; | 5456 | 0 | } | 5457 | 1.03k | else { | 5458 | 1.03k | err = r.error(); | 5459 | 1.03k | } | 5460 | 1.03k | } | 5461 | | | 5462 | 1.05k | return unexpected(err); | 5463 | 1.05k | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5440 | 484 | { | 5441 | 484 | scan_error err{scan_error::invalid_scanned_value, | 5442 | 484 | "Failed to read boolean"}; | 5443 | | | 5444 | 484 | if (m_options & allow_numeric) { | 5445 | 370 | if (auto r = read_numeric(range, value)) { | 5446 | 0 | return *r; | 5447 | 0 | } | 5448 | 370 | else { | 5449 | 370 | err = r.error(); | 5450 | 370 | } | 5451 | 370 | } | 5452 | | | 5453 | 484 | if (m_options & allow_text) { | 5454 | 456 | if (auto r = read_textual_classic(range, value)) { | 5455 | 0 | return *r; | 5456 | 0 | } | 5457 | 456 | else { | 5458 | 456 | err = r.error(); | 5459 | 456 | } | 5460 | 456 | } | 5461 | | | 5462 | 484 | return unexpected(err); | 5463 | 484 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5440 | 1.06k | { | 5441 | 1.06k | scan_error err{scan_error::invalid_scanned_value, | 5442 | 1.06k | "Failed to read boolean"}; | 5443 | | | 5444 | 1.06k | if (m_options & allow_numeric) { | 5445 | 1.00k | if (auto r = read_numeric(range, value)) { | 5446 | 34 | return *r; | 5447 | 34 | } | 5448 | 968 | else { | 5449 | 968 | err = r.error(); | 5450 | 968 | } | 5451 | 1.00k | } | 5452 | | | 5453 | 1.02k | if (m_options & allow_text) { | 5454 | 986 | if (auto r = read_textual_classic(range, value)) { | 5455 | 0 | return *r; | 5456 | 0 | } | 5457 | 986 | else { | 5458 | 986 | err = r.error(); | 5459 | 986 | } | 5460 | 986 | } | 5461 | | | 5462 | 1.02k | return unexpected(err); | 5463 | 1.02k | } |
_ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5440 | 268 | { | 5441 | 268 | scan_error err{scan_error::invalid_scanned_value, | 5442 | 268 | "Failed to read boolean"}; | 5443 | | | 5444 | 268 | if (m_options & allow_numeric) { | 5445 | 230 | if (auto r = read_numeric(range, value)) { | 5446 | 18 | return *r; | 5447 | 18 | } | 5448 | 212 | else { | 5449 | 212 | err = r.error(); | 5450 | 212 | } | 5451 | 230 | } | 5452 | | | 5453 | 250 | if (m_options & allow_text) { | 5454 | 226 | if (auto r = read_textual_classic(range, value)) { | 5455 | 0 | return *r; | 5456 | 0 | } | 5457 | 226 | else { | 5458 | 226 | err = r.error(); | 5459 | 226 | } | 5460 | 226 | } | 5461 | | | 5462 | 250 | return unexpected(err); | 5463 | 250 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5464 | | |
5465 | | protected: |
5466 | | template <typename Range> |
5467 | | auto read_numeric(Range range, bool& value) const |
5468 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5469 | 2.60k | { |
5470 | 2.60k | if (auto r = read_matching_code_unit(range, '0')) { |
5471 | 62 | value = false; |
5472 | 62 | return *r; |
5473 | 62 | } |
5474 | 2.54k | if (auto r = read_matching_code_unit(range, '1')) { |
5475 | 0 | value = true; |
5476 | 0 | return *r; |
5477 | 0 | } |
5478 | | |
5479 | 2.54k | return detail::unexpected_scan_error( |
5480 | 2.54k | scan_error::invalid_scanned_value, |
5481 | 2.54k | "Failed to read numeric boolean value: No match"); |
5482 | 2.54k | } _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5469 | 932 | { | 5470 | 932 | if (auto r = read_matching_code_unit(range, '0')) { | 5471 | 0 | value = false; | 5472 | 0 | return *r; | 5473 | 0 | } | 5474 | 932 | if (auto r = read_matching_code_unit(range, '1')) { | 5475 | 0 | value = true; | 5476 | 0 | return *r; | 5477 | 0 | } | 5478 | | | 5479 | 932 | return detail::unexpected_scan_error( | 5480 | 932 | scan_error::invalid_scanned_value, | 5481 | 932 | "Failed to read numeric boolean value: No match"); | 5482 | 932 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5469 | 386 | { | 5470 | 386 | if (auto r = read_matching_code_unit(range, '0')) { | 5471 | 0 | value = false; | 5472 | 0 | return *r; | 5473 | 0 | } | 5474 | 386 | if (auto r = read_matching_code_unit(range, '1')) { | 5475 | 0 | value = true; | 5476 | 0 | return *r; | 5477 | 0 | } | 5478 | | | 5479 | 386 | return detail::unexpected_scan_error( | 5480 | 386 | scan_error::invalid_scanned_value, | 5481 | 386 | "Failed to read numeric boolean value: No match"); | 5482 | 386 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5469 | 1.03k | { | 5470 | 1.03k | if (auto r = read_matching_code_unit(range, '0')) { | 5471 | 40 | value = false; | 5472 | 40 | return *r; | 5473 | 40 | } | 5474 | 992 | if (auto r = read_matching_code_unit(range, '1')) { | 5475 | 0 | value = true; | 5476 | 0 | return *r; | 5477 | 0 | } | 5478 | | | 5479 | 992 | return detail::unexpected_scan_error( | 5480 | 992 | scan_error::invalid_scanned_value, | 5481 | 992 | "Failed to read numeric boolean value: No match"); | 5482 | 992 | } |
_ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5469 | 256 | { | 5470 | 256 | if (auto r = read_matching_code_unit(range, '0')) { | 5471 | 22 | value = false; | 5472 | 22 | return *r; | 5473 | 22 | } | 5474 | 234 | if (auto r = read_matching_code_unit(range, '1')) { | 5475 | 0 | value = true; | 5476 | 0 | return *r; | 5477 | 0 | } | 5478 | | | 5479 | 234 | return detail::unexpected_scan_error( | 5480 | 234 | scan_error::invalid_scanned_value, | 5481 | 234 | "Failed to read numeric boolean value: No match"); | 5482 | 234 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base12read_numericINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5483 | | |
5484 | | template <typename Range> |
5485 | | auto read_textual_classic(Range range, bool& value) const |
5486 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5487 | 2.70k | { |
5488 | 2.70k | if (auto r = read_matching_string_classic(range, "true")) { |
5489 | 0 | value = true; |
5490 | 0 | return *r; |
5491 | 0 | } |
5492 | 2.70k | if (auto r = read_matching_string_classic(range, "false")) { |
5493 | 0 | value = false; |
5494 | 0 | return *r; |
5495 | 0 | } |
5496 | | |
5497 | 2.70k | return detail::unexpected_scan_error( |
5498 | 2.70k | scan_error::invalid_scanned_value, |
5499 | 2.70k | "Failed to read textual boolean value: No match"); |
5500 | 2.70k | } _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5487 | 1.03k | { | 5488 | 1.03k | if (auto r = read_matching_string_classic(range, "true")) { | 5489 | 0 | value = true; | 5490 | 0 | return *r; | 5491 | 0 | } | 5492 | 1.03k | if (auto r = read_matching_string_classic(range, "false")) { | 5493 | 0 | value = false; | 5494 | 0 | return *r; | 5495 | 0 | } | 5496 | | | 5497 | 1.03k | return detail::unexpected_scan_error( | 5498 | 1.03k | scan_error::invalid_scanned_value, | 5499 | 1.03k | "Failed to read textual boolean value: No match"); | 5500 | 1.03k | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5487 | 456 | { | 5488 | 456 | if (auto r = read_matching_string_classic(range, "true")) { | 5489 | 0 | value = true; | 5490 | 0 | return *r; | 5491 | 0 | } | 5492 | 456 | if (auto r = read_matching_string_classic(range, "false")) { | 5493 | 0 | value = false; | 5494 | 0 | return *r; | 5495 | 0 | } | 5496 | | | 5497 | 456 | return detail::unexpected_scan_error( | 5498 | 456 | scan_error::invalid_scanned_value, | 5499 | 456 | "Failed to read textual boolean value: No match"); | 5500 | 456 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESE_Rb Line | Count | Source | 5487 | 986 | { | 5488 | 986 | if (auto r = read_matching_string_classic(range, "true")) { | 5489 | 0 | value = true; | 5490 | 0 | return *r; | 5491 | 0 | } | 5492 | 986 | if (auto r = read_matching_string_classic(range, "false")) { | 5493 | 0 | value = false; | 5494 | 0 | return *r; | 5495 | 0 | } | 5496 | | | 5497 | 986 | return detail::unexpected_scan_error( | 5498 | 986 | scan_error::invalid_scanned_value, | 5499 | 986 | "Failed to read textual boolean value: No match"); | 5500 | 986 | } |
_ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESG_Rb Line | Count | Source | 5487 | 226 | { | 5488 | 226 | if (auto r = read_matching_string_classic(range, "true")) { | 5489 | 0 | value = true; | 5490 | 0 | return *r; | 5491 | 0 | } | 5492 | 226 | if (auto r = read_matching_string_classic(range, "false")) { | 5493 | 0 | value = false; | 5494 | 0 | return *r; | 5495 | 0 | } | 5496 | | | 5497 | 226 | return detail::unexpected_scan_error( | 5498 | 226 | scan_error::invalid_scanned_value, | 5499 | 226 | "Failed to read textual boolean value: No match"); | 5500 | 226 | } |
Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_Rb Unexecuted instantiation: _ZNK3scn2v44impl16bool_reader_base20read_textual_classicINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESJ_Rb |
5501 | | |
5502 | | unsigned m_options{allow_text | allow_numeric}; |
5503 | | }; |
5504 | | |
5505 | | template <typename CharT> |
5506 | | struct bool_reader : public bool_reader_base { |
5507 | | using bool_reader_base::bool_reader_base; |
5508 | | |
5509 | | #if !SCN_DISABLE_LOCALE |
5510 | | template <typename Range> |
5511 | | auto read_localized(Range range, detail::locale_ref loc, bool& value) const |
5512 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5513 | 102 | { |
5514 | 102 | scan_error err{scan_error::invalid_scanned_value, |
5515 | 102 | "Failed to read boolean"}; |
5516 | | |
5517 | 102 | if (m_options & allow_numeric) { |
5518 | 86 | if (auto r = read_numeric(range, value)) { |
5519 | 10 | return *r; |
5520 | 10 | } |
5521 | 76 | else { |
5522 | 76 | err = r.error(); |
5523 | 76 | } |
5524 | 86 | } |
5525 | | |
5526 | 92 | if (m_options & allow_text) { |
5527 | 56 | auto stdloc = loc.get<std::locale>(); |
5528 | 56 | const auto& numpunct = |
5529 | 56 | get_or_add_facet<std::numpunct<CharT>>(stdloc); |
5530 | 56 | const auto truename = numpunct.truename(); |
5531 | 56 | const auto falsename = numpunct.falsename(); |
5532 | | |
5533 | 56 | if (auto r = |
5534 | 56 | read_textual_custom(range, value, truename, falsename)) { |
5535 | 0 | return *r; |
5536 | 0 | } |
5537 | 56 | else { |
5538 | 56 | err = r.error(); |
5539 | 56 | } |
5540 | 56 | } |
5541 | | |
5542 | 92 | return unexpected(err); |
5543 | 92 | } _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5513 | 20 | { | 5514 | 20 | scan_error err{scan_error::invalid_scanned_value, | 5515 | 20 | "Failed to read boolean"}; | 5516 | | | 5517 | 20 | if (m_options & allow_numeric) { | 5518 | 16 | if (auto r = read_numeric(range, value)) { | 5519 | 0 | return *r; | 5520 | 0 | } | 5521 | 16 | else { | 5522 | 16 | err = r.error(); | 5523 | 16 | } | 5524 | 16 | } | 5525 | | | 5526 | 20 | if (m_options & allow_text) { | 5527 | 16 | auto stdloc = loc.get<std::locale>(); | 5528 | 16 | const auto& numpunct = | 5529 | 16 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5530 | 16 | const auto truename = numpunct.truename(); | 5531 | 16 | const auto falsename = numpunct.falsename(); | 5532 | | | 5533 | 16 | if (auto r = | 5534 | 16 | read_textual_custom(range, value, truename, falsename)) { | 5535 | 0 | return *r; | 5536 | 0 | } | 5537 | 16 | else { | 5538 | 16 | err = r.error(); | 5539 | 16 | } | 5540 | 16 | } | 5541 | | | 5542 | 20 | return unexpected(err); | 5543 | 20 | } |
_ZNK3scn2v44impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5513 | 22 | { | 5514 | 22 | scan_error err{scan_error::invalid_scanned_value, | 5515 | 22 | "Failed to read boolean"}; | 5516 | | | 5517 | 22 | if (m_options & allow_numeric) { | 5518 | 14 | if (auto r = read_numeric(range, value)) { | 5519 | 0 | return *r; | 5520 | 0 | } | 5521 | 14 | else { | 5522 | 14 | err = r.error(); | 5523 | 14 | } | 5524 | 14 | } | 5525 | | | 5526 | 22 | if (m_options & allow_text) { | 5527 | 12 | auto stdloc = loc.get<std::locale>(); | 5528 | 12 | const auto& numpunct = | 5529 | 12 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5530 | 12 | const auto truename = numpunct.truename(); | 5531 | 12 | const auto falsename = numpunct.falsename(); | 5532 | | | 5533 | 12 | if (auto r = | 5534 | 12 | read_textual_custom(range, value, truename, falsename)) { | 5535 | 0 | return *r; | 5536 | 0 | } | 5537 | 12 | else { | 5538 | 12 | err = r.error(); | 5539 | 12 | } | 5540 | 12 | } | 5541 | | | 5542 | 22 | return unexpected(err); | 5543 | 22 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_NS0_6detail10locale_refERb Line | Count | Source | 5513 | 28 | { | 5514 | 28 | scan_error err{scan_error::invalid_scanned_value, | 5515 | 28 | "Failed to read boolean"}; | 5516 | | | 5517 | 28 | if (m_options & allow_numeric) { | 5518 | 26 | if (auto r = read_numeric(range, value)) { | 5519 | 4 | return *r; | 5520 | 4 | } | 5521 | 22 | else { | 5522 | 22 | err = r.error(); | 5523 | 22 | } | 5524 | 26 | } | 5525 | | | 5526 | 24 | if (m_options & allow_text) { | 5527 | 14 | auto stdloc = loc.get<std::locale>(); | 5528 | 14 | const auto& numpunct = | 5529 | 14 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5530 | 14 | const auto truename = numpunct.truename(); | 5531 | 14 | const auto falsename = numpunct.falsename(); | 5532 | | | 5533 | 14 | if (auto r = | 5534 | 14 | read_textual_custom(range, value, truename, falsename)) { | 5535 | 0 | return *r; | 5536 | 0 | } | 5537 | 14 | else { | 5538 | 14 | err = r.error(); | 5539 | 14 | } | 5540 | 14 | } | 5541 | | | 5542 | 24 | return unexpected(err); | 5543 | 24 | } |
_ZNK3scn2v44impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_NS0_6detail10locale_refERb Line | Count | Source | 5513 | 32 | { | 5514 | 32 | scan_error err{scan_error::invalid_scanned_value, | 5515 | 32 | "Failed to read boolean"}; | 5516 | | | 5517 | 32 | if (m_options & allow_numeric) { | 5518 | 30 | if (auto r = read_numeric(range, value)) { | 5519 | 6 | return *r; | 5520 | 6 | } | 5521 | 24 | else { | 5522 | 24 | err = r.error(); | 5523 | 24 | } | 5524 | 30 | } | 5525 | | | 5526 | 26 | if (m_options & allow_text) { | 5527 | 14 | auto stdloc = loc.get<std::locale>(); | 5528 | 14 | const auto& numpunct = | 5529 | 14 | get_or_add_facet<std::numpunct<CharT>>(stdloc); | 5530 | 14 | const auto truename = numpunct.truename(); | 5531 | 14 | const auto falsename = numpunct.falsename(); | 5532 | | | 5533 | 14 | if (auto r = | 5534 | 14 | read_textual_custom(range, value, truename, falsename)) { | 5535 | 0 | return *r; | 5536 | 0 | } | 5537 | 14 | else { | 5538 | 14 | err = r.error(); | 5539 | 14 | } | 5540 | 14 | } | 5541 | | | 5542 | 26 | return unexpected(err); | 5543 | 26 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_NSA_10locale_refERb Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE14read_localizedINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_NS9_10locale_refERb |
5544 | | #endif |
5545 | | |
5546 | | protected: |
5547 | | template <typename Range> |
5548 | | auto read_textual_custom(Range range, |
5549 | | bool& value, |
5550 | | std::basic_string_view<CharT> truename, |
5551 | | std::basic_string_view<CharT> falsename) const |
5552 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5553 | 56 | { |
5554 | 56 | const auto is_truename_shorter = truename.size() <= falsename.size(); |
5555 | 56 | const auto shorter = std::pair{ |
5556 | 56 | is_truename_shorter ? truename : falsename, is_truename_shorter}; |
5557 | 56 | const auto longer = std::pair{ |
5558 | 56 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; |
5559 | | |
5560 | 56 | if (auto r = read_matching_string(range, shorter.first)) { |
5561 | 0 | value = shorter.second; |
5562 | 0 | return *r; |
5563 | 0 | } |
5564 | 56 | if (auto r = read_matching_string(range, longer.first)) { |
5565 | 0 | value = longer.second; |
5566 | 0 | return *r; |
5567 | 0 | } |
5568 | | |
5569 | 56 | return detail::unexpected_scan_error( |
5570 | 56 | scan_error::invalid_scanned_value, |
5571 | 56 | "Failed to read textual boolean: No match"); |
5572 | 56 | } _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIcNSF_11char_traitsIcEEEESR_ Line | Count | Source | 5553 | 16 | { | 5554 | 16 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5555 | 16 | const auto shorter = std::pair{ | 5556 | 16 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5557 | 16 | const auto longer = std::pair{ | 5558 | 16 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5559 | | | 5560 | 16 | if (auto r = read_matching_string(range, shorter.first)) { | 5561 | 0 | value = shorter.second; | 5562 | 0 | return *r; | 5563 | 0 | } | 5564 | 16 | if (auto r = read_matching_string(range, longer.first)) { | 5565 | 0 | value = longer.second; | 5566 | 0 | return *r; | 5567 | 0 | } | 5568 | | | 5569 | 16 | return detail::unexpected_scan_error( | 5570 | 16 | scan_error::invalid_scanned_value, | 5571 | 16 | "Failed to read textual boolean: No match"); | 5572 | 16 | } |
_ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIcNSD_11char_traitsIcEEEESP_ Line | Count | Source | 5553 | 12 | { | 5554 | 12 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5555 | 12 | const auto shorter = std::pair{ | 5556 | 12 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5557 | 12 | const auto longer = std::pair{ | 5558 | 12 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5559 | | | 5560 | 12 | if (auto r = read_matching_string(range, shorter.first)) { | 5561 | 0 | value = shorter.second; | 5562 | 0 | return *r; | 5563 | 0 | } | 5564 | 12 | if (auto r = read_matching_string(range, longer.first)) { | 5565 | 0 | value = longer.second; | 5566 | 0 | return *r; | 5567 | 0 | } | 5568 | | | 5569 | 12 | return detail::unexpected_scan_error( | 5570 | 12 | scan_error::invalid_scanned_value, | 5571 | 12 | "Failed to read textual boolean: No match"); | 5572 | 12 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIcNSI_11char_traitsIcEEEESU_ Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIcE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIcNSG_11char_traitsIcEEEESS_ _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RbNSF_17basic_string_viewIwNSF_11char_traitsIwEEEESR_ Line | Count | Source | 5553 | 14 | { | 5554 | 14 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5555 | 14 | const auto shorter = std::pair{ | 5556 | 14 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5557 | 14 | const auto longer = std::pair{ | 5558 | 14 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5559 | | | 5560 | 14 | if (auto r = read_matching_string(range, shorter.first)) { | 5561 | 0 | value = shorter.second; | 5562 | 0 | return *r; | 5563 | 0 | } | 5564 | 14 | if (auto r = read_matching_string(range, longer.first)) { | 5565 | 0 | value = longer.second; | 5566 | 0 | return *r; | 5567 | 0 | } | 5568 | | | 5569 | 14 | return detail::unexpected_scan_error( | 5570 | 14 | scan_error::invalid_scanned_value, | 5571 | 14 | "Failed to read textual boolean: No match"); | 5572 | 14 | } |
_ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNSD_17basic_string_viewIwNSD_11char_traitsIwEEEESP_ Line | Count | Source | 5553 | 14 | { | 5554 | 14 | const auto is_truename_shorter = truename.size() <= falsename.size(); | 5555 | 14 | const auto shorter = std::pair{ | 5556 | 14 | is_truename_shorter ? truename : falsename, is_truename_shorter}; | 5557 | 14 | const auto longer = std::pair{ | 5558 | 14 | !is_truename_shorter ? truename : falsename, !is_truename_shorter}; | 5559 | | | 5560 | 14 | if (auto r = read_matching_string(range, shorter.first)) { | 5561 | 0 | value = shorter.second; | 5562 | 0 | return *r; | 5563 | 0 | } | 5564 | 14 | if (auto r = read_matching_string(range, longer.first)) { | 5565 | 0 | value = longer.second; | 5566 | 0 | return *r; | 5567 | 0 | } | 5568 | | | 5569 | 14 | return detail::unexpected_scan_error( | 5570 | 14 | scan_error::invalid_scanned_value, | 5571 | 14 | "Failed to read textual boolean: No match"); | 5572 | 14 | } |
Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RbNSI_17basic_string_viewIwNSI_11char_traitsIwEEEESU_ Unexecuted instantiation: _ZNK3scn2v44impl11bool_readerIwE19read_textual_customINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNSG_17basic_string_viewIwNSG_11char_traitsIwEEEESS_ |
5573 | | }; |
5574 | | |
5575 | | template <typename CharT> |
5576 | | class reader_impl_for_bool |
5577 | | : public reader_base<reader_impl_for_bool<CharT>, CharT> { |
5578 | | public: |
5579 | | reader_impl_for_bool() = default; |
5580 | | |
5581 | | void check_specs_impl(const detail::format_specs& specs, |
5582 | | reader_error_handler& eh) |
5583 | 4.57k | { |
5584 | 4.57k | detail::check_bool_type_specs(specs, eh); |
5585 | 4.57k | } scn::v4::impl::reader_impl_for_bool<char>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5583 | 3.10k | { | 5584 | 3.10k | detail::check_bool_type_specs(specs, eh); | 5585 | 3.10k | } |
scn::v4::impl::reader_impl_for_bool<wchar_t>::check_specs_impl(scn::v4::detail::format_specs const&, scn::v4::impl::reader_error_handler&) Line | Count | Source | 5583 | 1.47k | { | 5584 | 1.47k | detail::check_bool_type_specs(specs, eh); | 5585 | 1.47k | } |
|
5586 | | |
5587 | | template <typename Range> |
5588 | | auto read_default(Range range, bool& value, detail::locale_ref loc) const |
5589 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5590 | 1.18k | { |
5591 | 1.18k | SCN_UNUSED(loc); |
5592 | | |
5593 | 1.18k | return bool_reader<CharT>{}.read_classic(range, value); |
5594 | 1.18k | } _ZNK3scn2v44impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5590 | 632 | { | 5591 | 632 | SCN_UNUSED(loc); | 5592 | | | 5593 | 632 | return bool_reader<CharT>{}.read_classic(range, value); | 5594 | 632 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE _ZNK3scn2v44impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RbNS0_6detail10locale_refE Line | Count | Source | 5590 | 556 | { | 5591 | 556 | SCN_UNUSED(loc); | 5592 | | | 5593 | 556 | return bool_reader<CharT>{}.read_classic(range, value); | 5594 | 556 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RbNS9_10locale_refE |
5595 | | |
5596 | | template <typename Range> |
5597 | | auto read_specs(Range range, |
5598 | | const detail::format_specs& specs, |
5599 | | bool& value, |
5600 | | detail::locale_ref loc) const |
5601 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5602 | 1.78k | { |
5603 | 1.78k | const auto rd = bool_reader<CharT>{get_options(specs)}; |
5604 | | |
5605 | 1.78k | #if !SCN_DISABLE_LOCALE |
5606 | 1.78k | if (specs.localized) { |
5607 | 102 | return rd.read_localized(range, loc, value); |
5608 | 102 | } |
5609 | 1.68k | #endif |
5610 | | |
5611 | 1.68k | return rd.read_classic(range, value); |
5612 | 1.78k | } _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5602 | 504 | { | 5603 | 504 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5604 | | | 5605 | 504 | #if !SCN_DISABLE_LOCALE | 5606 | 504 | if (specs.localized) { | 5607 | 20 | return rd.read_localized(range, loc, value); | 5608 | 20 | } | 5609 | 484 | #endif | 5610 | | | 5611 | 484 | return rd.read_classic(range, value); | 5612 | 504 | } |
_ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5602 | 446 | { | 5603 | 446 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5604 | | | 5605 | 446 | #if !SCN_DISABLE_LOCALE | 5606 | 446 | if (specs.localized) { | 5607 | 22 | return rd.read_localized(range, loc, value); | 5608 | 22 | } | 5609 | 424 | #endif | 5610 | | | 5611 | 424 | return rd.read_classic(range, value); | 5612 | 446 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERbNSN_10locale_refE Line | Count | Source | 5602 | 296 | { | 5603 | 296 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5604 | | | 5605 | 296 | #if !SCN_DISABLE_LOCALE | 5606 | 296 | if (specs.localized) { | 5607 | 28 | return rd.read_localized(range, loc, value); | 5608 | 28 | } | 5609 | 268 | #endif | 5610 | | | 5611 | 268 | return rd.read_classic(range, value); | 5612 | 296 | } |
_ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERbNSL_10locale_refE Line | Count | Source | 5602 | 536 | { | 5603 | 536 | const auto rd = bool_reader<CharT>{get_options(specs)}; | 5604 | | | 5605 | 536 | #if !SCN_DISABLE_LOCALE | 5606 | 536 | if (specs.localized) { | 5607 | 32 | return rd.read_localized(range, loc, value); | 5608 | 32 | } | 5609 | 504 | #endif | 5610 | | | 5611 | 504 | return rd.read_classic(range, value); | 5612 | 536 | } |
Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERbNSA_10locale_refE Unexecuted instantiation: _ZNK3scn2v44impl20reader_impl_for_boolIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERbNS9_10locale_refE |
5613 | | |
5614 | | static constexpr unsigned get_options(const detail::format_specs& specs) |
5615 | 1.78k | { |
5616 | 1.78k | SCN_GCC_COMPAT_PUSH |
5617 | 1.78k | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") |
5618 | | |
5619 | 1.78k | switch (specs.type) { |
5620 | 364 | case detail::presentation_type::string: |
5621 | 364 | return bool_reader_base::allow_text; |
5622 | | |
5623 | 38 | case detail::presentation_type::int_generic: |
5624 | 74 | case detail::presentation_type::int_binary: |
5625 | 88 | case detail::presentation_type::int_decimal: |
5626 | 114 | case detail::presentation_type::int_hex: |
5627 | 150 | case detail::presentation_type::int_octal: |
5628 | 174 | case detail::presentation_type::int_unsigned_decimal: |
5629 | 174 | return bool_reader_base::allow_numeric; |
5630 | | |
5631 | 1.24k | default: |
5632 | 1.24k | return bool_reader_base::allow_text | |
5633 | 1.24k | bool_reader_base::allow_numeric; |
5634 | 1.78k | } |
5635 | | |
5636 | | SCN_GCC_COMPAT_POP // -Wswitch-enum |
5637 | 1.78k | } scn::v4::impl::reader_impl_for_bool<char>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 5615 | 950 | { | 5616 | 950 | SCN_GCC_COMPAT_PUSH | 5617 | 950 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5618 | | | 5619 | 950 | switch (specs.type) { | 5620 | 264 | case detail::presentation_type::string: | 5621 | 264 | return bool_reader_base::allow_text; | 5622 | | | 5623 | 14 | case detail::presentation_type::int_generic: | 5624 | 26 | case detail::presentation_type::int_binary: | 5625 | 32 | case detail::presentation_type::int_decimal: | 5626 | 42 | case detail::presentation_type::int_hex: | 5627 | 58 | case detail::presentation_type::int_octal: | 5628 | 64 | case detail::presentation_type::int_unsigned_decimal: | 5629 | 64 | return bool_reader_base::allow_numeric; | 5630 | | | 5631 | 622 | default: | 5632 | 622 | return bool_reader_base::allow_text | | 5633 | 622 | bool_reader_base::allow_numeric; | 5634 | 950 | } | 5635 | | | 5636 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5637 | 950 | } |
scn::v4::impl::reader_impl_for_bool<wchar_t>::get_options(scn::v4::detail::format_specs const&) Line | Count | Source | 5615 | 832 | { | 5616 | 832 | SCN_GCC_COMPAT_PUSH | 5617 | 832 | SCN_GCC_COMPAT_IGNORE("-Wswitch-enum") | 5618 | | | 5619 | 832 | switch (specs.type) { | 5620 | 100 | case detail::presentation_type::string: | 5621 | 100 | return bool_reader_base::allow_text; | 5622 | | | 5623 | 24 | case detail::presentation_type::int_generic: | 5624 | 48 | case detail::presentation_type::int_binary: | 5625 | 56 | case detail::presentation_type::int_decimal: | 5626 | 72 | case detail::presentation_type::int_hex: | 5627 | 92 | case detail::presentation_type::int_octal: | 5628 | 110 | case detail::presentation_type::int_unsigned_decimal: | 5629 | 110 | return bool_reader_base::allow_numeric; | 5630 | | | 5631 | 622 | default: | 5632 | 622 | return bool_reader_base::allow_text | | 5633 | 622 | bool_reader_base::allow_numeric; | 5634 | 832 | } | 5635 | | | 5636 | | SCN_GCC_COMPAT_POP // -Wswitch-enum | 5637 | 832 | } |
|
5638 | | }; |
5639 | | |
5640 | | ///////////////////////////////////////////////////////////////// |
5641 | | // Character (code unit, code point) reader |
5642 | | ///////////////////////////////////////////////////////////////// |
5643 | | |
5644 | | template <typename CharT> |
5645 | | class code_unit_reader { |
5646 | | public: |
5647 | | template <typename SourceRange> |
5648 | | auto read(const SourceRange& range, CharT& ch) |
5649 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5650 | 2.41k | { |
5651 | 2.41k | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); |
5652 | 2.41k | ch = *range.begin(); |
5653 | 2.41k | return it; |
5654 | 2.41k | } Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rc Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rc _ZN3scn2v44impl16code_unit_readerIcE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rc Line | Count | Source | 5650 | 366 | { | 5651 | 366 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5652 | 366 | ch = *range.begin(); | 5653 | 366 | return it; | 5654 | 366 | } |
_ZN3scn2v44impl16code_unit_readerIcE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rc Line | Count | Source | 5650 | 896 | { | 5651 | 896 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5652 | 896 | ch = *range.begin(); | 5653 | 896 | return it; | 5654 | 896 | } |
Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw Unexecuted instantiation: _ZN3scn2v44impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw _ZN3scn2v44impl16code_unit_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Line | Count | Source | 5650 | 204 | { | 5651 | 204 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5652 | 204 | ch = *range.begin(); | 5653 | 204 | return it; | 5654 | 204 | } |
_ZN3scn2v44impl16code_unit_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Line | Count | Source | 5650 | 950 | { | 5651 | 950 | SCN_TRY(it, read_code_unit(range).transform_error(make_eof_scan_error)); | 5652 | 950 | ch = *range.begin(); | 5653 | 950 | return it; | 5654 | 950 | } |
|
5655 | | }; |
5656 | | |
5657 | | template <typename CharT> |
5658 | | class code_point_reader; |
5659 | | |
5660 | | template <> |
5661 | | class code_point_reader<char32_t> { |
5662 | | public: |
5663 | | template <typename SourceRange> |
5664 | | auto read(const SourceRange& range, char32_t& cp) |
5665 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5666 | 0 | { |
5667 | 0 | auto result = read_code_point_into(range); |
5668 | 0 | if (SCN_UNLIKELY(!result.is_valid())) { |
5669 | 0 | return detail::unexpected_scan_error( |
5670 | 0 | scan_error::invalid_scanned_value, "Invalid code point"); |
5671 | 0 | } |
5672 | 0 | cp = detail::decode_code_point_exhaustive_valid( |
5673 | 0 | std::basic_string_view<detail::char_t<SourceRange>>{ |
5674 | 0 | result.codepoint}); |
5675 | 0 | return result.iterator; |
5676 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_RDi Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIDiE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_RDi |
5677 | | }; |
5678 | | |
5679 | | template <> |
5680 | | class code_point_reader<wchar_t> { |
5681 | | public: |
5682 | | template <typename SourceRange> |
5683 | | auto read(const SourceRange& range, wchar_t& ch) |
5684 | | -> scan_expected<ranges::const_iterator_t<SourceRange>> |
5685 | 0 | { |
5686 | 0 | code_point_reader<char32_t> reader{}; |
5687 | 0 | char32_t cp{}; |
5688 | 0 | auto ret = reader.read(range, cp); |
5689 | 0 | if (SCN_UNLIKELY(!ret)) { |
5690 | 0 | return unexpected(ret.error()); |
5691 | 0 | } |
5692 | | |
5693 | 0 | SCN_TRY(encoded_ch, encode_code_point_as_wide_character(cp, true)); |
5694 | 0 | ch = encoded_ch; |
5695 | 0 | return *ret; |
5696 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSF_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSI_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSH_Rw Unexecuted instantiation: _ZN3scn2v44impl17code_point_readerIwE4readINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEERKSK_Rw |
5697 | | }; |
5698 | | |
5699 | | template <typename ValueCharT> |
5700 | | class char_reader_base { |
5701 | | public: |
5702 | | constexpr char_reader_base() = default; |
5703 | | |
5704 | | bool skip_ws_before_read() const |
5705 | 3.82k | { |
5706 | 3.82k | return false; |
5707 | 3.82k | } scn::v4::impl::char_reader_base<char>::skip_ws_before_read() const Line | Count | Source | 5705 | 1.95k | { | 5706 | 1.95k | return false; | 5707 | 1.95k | } |
scn::v4::impl::char_reader_base<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5705 | 1.87k | { | 5706 | 1.87k | return false; | 5707 | 1.87k | } |
Unexecuted instantiation: scn::v4::impl::char_reader_base<char32_t>::skip_ws_before_read() const |
5708 | | |
5709 | | static scan_expected<void> check_specs(const detail::format_specs& specs) |
5710 | 4.46k | { |
5711 | 4.46k | reader_error_handler eh{}; |
5712 | 4.46k | if constexpr (std::is_same_v<ValueCharT, char32_t>) { |
5713 | 0 | detail::check_code_point_type_specs(specs, eh); |
5714 | | } |
5715 | 4.46k | else { |
5716 | 4.46k | detail::check_char_type_specs(specs, eh); |
5717 | 4.46k | } |
5718 | 4.46k | if (SCN_UNLIKELY(!eh)) { |
5719 | 3.07k | return detail::unexpected_scan_error( |
5720 | 3.07k | scan_error::invalid_format_string, eh.m_msg); |
5721 | 3.07k | } |
5722 | 1.39k | return {}; |
5723 | 4.46k | } scn::v4::impl::char_reader_base<char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5710 | 3.05k | { | 5711 | 3.05k | reader_error_handler eh{}; | 5712 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5713 | | detail::check_code_point_type_specs(specs, eh); | 5714 | | } | 5715 | 3.05k | else { | 5716 | 3.05k | detail::check_char_type_specs(specs, eh); | 5717 | 3.05k | } | 5718 | 3.05k | if (SCN_UNLIKELY(!eh)) { | 5719 | 2.36k | return detail::unexpected_scan_error( | 5720 | 2.36k | scan_error::invalid_format_string, eh.m_msg); | 5721 | 2.36k | } | 5722 | 694 | return {}; | 5723 | 3.05k | } |
scn::v4::impl::char_reader_base<wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5710 | 1.40k | { | 5711 | 1.40k | reader_error_handler eh{}; | 5712 | | if constexpr (std::is_same_v<ValueCharT, char32_t>) { | 5713 | | detail::check_code_point_type_specs(specs, eh); | 5714 | | } | 5715 | 1.40k | else { | 5716 | 1.40k | detail::check_char_type_specs(specs, eh); | 5717 | 1.40k | } | 5718 | 1.40k | if (SCN_UNLIKELY(!eh)) { | 5719 | 708 | return detail::unexpected_scan_error( | 5720 | 708 | scan_error::invalid_format_string, eh.m_msg); | 5721 | 708 | } | 5722 | 696 | return {}; | 5723 | 1.40k | } |
Unexecuted instantiation: scn::v4::impl::char_reader_base<char32_t>::check_specs(scn::v4::detail::format_specs const&) |
5724 | | }; |
5725 | | |
5726 | | template <typename CharT> |
5727 | | class reader_impl_for_char : public char_reader_base<char> { |
5728 | | public: |
5729 | | template <typename Range> |
5730 | | auto read_default(Range range, char& value, detail::locale_ref loc) |
5731 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5732 | 1.26k | { |
5733 | 1.26k | SCN_UNUSED(loc); |
5734 | 1.26k | if constexpr (std::is_same_v<CharT, char>) { |
5735 | 1.26k | return code_unit_reader<char>{}.read(range, value); |
5736 | | } |
5737 | 0 | else { |
5738 | 0 | SCN_UNUSED(range); |
5739 | 0 | SCN_EXPECT(false); |
5740 | 0 | SCN_UNREACHABLE; |
5741 | 0 | } |
5742 | 1.26k | } Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE _ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Line | Count | Source | 5732 | 366 | { | 5733 | 366 | SCN_UNUSED(loc); | 5734 | 366 | if constexpr (std::is_same_v<CharT, char>) { | 5735 | 366 | return code_unit_reader<char>{}.read(range, value); | 5736 | | } | 5737 | | else { | 5738 | | SCN_UNUSED(range); | 5739 | | SCN_EXPECT(false); | 5740 | | SCN_UNREACHABLE; | 5741 | | } | 5742 | 366 | } |
_ZN3scn2v44impl20reader_impl_for_charIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Line | Count | Source | 5732 | 896 | { | 5733 | 896 | SCN_UNUSED(loc); | 5734 | 896 | if constexpr (std::is_same_v<CharT, char>) { | 5735 | 896 | return code_unit_reader<char>{}.read(range, value); | 5736 | | } | 5737 | | else { | 5738 | | SCN_UNUSED(range); | 5739 | | SCN_EXPECT(false); | 5740 | | SCN_UNREACHABLE; | 5741 | | } | 5742 | 896 | } |
Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RcNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RcNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RcNSA_10locale_refE |
5743 | | |
5744 | | template <typename Range> |
5745 | | auto read_specs(Range range, |
5746 | | const detail::format_specs& specs, |
5747 | | char& value, |
5748 | | detail::locale_ref loc) |
5749 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5750 | 688 | { |
5751 | 688 | if (specs.type == detail::presentation_type::none || |
5752 | 688 | specs.type == detail::presentation_type::character) { |
5753 | 630 | return read_default(range, value, loc); |
5754 | 630 | } |
5755 | | |
5756 | 58 | reader_impl_for_int<CharT> reader{}; |
5757 | 58 | signed char tmp_value{}; |
5758 | 58 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5759 | 58 | value = static_cast<signed char>(value); |
5760 | 58 | return ret; |
5761 | 688 | } Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE _ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Line | Count | Source | 5750 | 402 | { | 5751 | 402 | if (specs.type == detail::presentation_type::none || | 5752 | 402 | specs.type == detail::presentation_type::character) { | 5753 | 366 | return read_default(range, value, loc); | 5754 | 366 | } | 5755 | | | 5756 | 36 | reader_impl_for_int<CharT> reader{}; | 5757 | 36 | signed char tmp_value{}; | 5758 | 36 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5759 | 36 | value = static_cast<signed char>(value); | 5760 | 36 | return ret; | 5761 | 402 | } |
_ZN3scn2v44impl20reader_impl_for_charIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Line | Count | Source | 5750 | 286 | { | 5751 | 286 | if (specs.type == detail::presentation_type::none || | 5752 | 286 | specs.type == detail::presentation_type::character) { | 5753 | 264 | return read_default(range, value, loc); | 5754 | 264 | } | 5755 | | | 5756 | 22 | reader_impl_for_int<CharT> reader{}; | 5757 | 22 | signed char tmp_value{}; | 5758 | 22 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5759 | 22 | value = static_cast<signed char>(value); | 5760 | 22 | return ret; | 5761 | 286 | } |
Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERcNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERcNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERcNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl20reader_impl_for_charIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERcNS9_10locale_refE |
5762 | | }; |
5763 | | |
5764 | | template <typename CharT> |
5765 | | class reader_impl_for_wchar : public char_reader_base<wchar_t> { |
5766 | | public: |
5767 | | template <typename Range> |
5768 | | auto read_default(Range range, wchar_t& value, detail::locale_ref loc) |
5769 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5770 | 1.15k | { |
5771 | 1.15k | SCN_UNUSED(loc); |
5772 | 1.15k | if constexpr (std::is_same_v<CharT, char>) { |
5773 | 0 | return code_point_reader<wchar_t>{}.read(range, value); |
5774 | | } |
5775 | 1.15k | else { |
5776 | 1.15k | return code_unit_reader<wchar_t>{}.read(range, value); |
5777 | 1.15k | } |
5778 | 1.15k | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Line | Count | Source | 5770 | 204 | { | 5771 | 204 | SCN_UNUSED(loc); | 5772 | | if constexpr (std::is_same_v<CharT, char>) { | 5773 | | return code_point_reader<wchar_t>{}.read(range, value); | 5774 | | } | 5775 | 204 | else { | 5776 | 204 | return code_unit_reader<wchar_t>{}.read(range, value); | 5777 | 204 | } | 5778 | 204 | } |
_ZN3scn2v44impl21reader_impl_for_wcharIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Line | Count | Source | 5770 | 950 | { | 5771 | 950 | SCN_UNUSED(loc); | 5772 | | if constexpr (std::is_same_v<CharT, char>) { | 5773 | | return code_point_reader<wchar_t>{}.read(range, value); | 5774 | | } | 5775 | 950 | else { | 5776 | 950 | return code_unit_reader<wchar_t>{}.read(range, value); | 5777 | 950 | } | 5778 | 950 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RwNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RwNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RwNSA_10locale_refE |
5779 | | |
5780 | | template <typename Range> |
5781 | | auto read_specs(Range range, |
5782 | | const detail::format_specs& specs, |
5783 | | wchar_t& value, |
5784 | | detail::locale_ref loc) |
5785 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5786 | 694 | { |
5787 | 694 | if (specs.type == detail::presentation_type::none || |
5788 | 694 | specs.type == detail::presentation_type::character) { |
5789 | 598 | return read_default(range, value, loc); |
5790 | 598 | } |
5791 | | |
5792 | 96 | reader_impl_for_int<CharT> reader{}; |
5793 | 96 | using integer_type = |
5794 | 96 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; |
5795 | 96 | integer_type tmp_value{}; |
5796 | 96 | auto ret = reader.read_specs(range, specs, tmp_value, loc); |
5797 | 96 | value = static_cast<integer_type>(value); |
5798 | 96 | return ret; |
5799 | 694 | } Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE _ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Line | Count | Source | 5786 | 248 | { | 5787 | 248 | if (specs.type == detail::presentation_type::none || | 5788 | 248 | specs.type == detail::presentation_type::character) { | 5789 | 204 | return read_default(range, value, loc); | 5790 | 204 | } | 5791 | | | 5792 | 44 | reader_impl_for_int<CharT> reader{}; | 5793 | 44 | using integer_type = | 5794 | 44 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5795 | 44 | integer_type tmp_value{}; | 5796 | 44 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5797 | 44 | value = static_cast<integer_type>(value); | 5798 | 44 | return ret; | 5799 | 248 | } |
_ZN3scn2v44impl21reader_impl_for_wcharIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Line | Count | Source | 5786 | 446 | { | 5787 | 446 | if (specs.type == detail::presentation_type::none || | 5788 | 446 | specs.type == detail::presentation_type::character) { | 5789 | 394 | return read_default(range, value, loc); | 5790 | 394 | } | 5791 | | | 5792 | 52 | reader_impl_for_int<CharT> reader{}; | 5793 | 52 | using integer_type = | 5794 | 52 | std::conditional_t<sizeof(wchar_t) == 2, int16_t, int32_t>; | 5795 | 52 | integer_type tmp_value{}; | 5796 | 52 | auto ret = reader.read_specs(range, specs, tmp_value, loc); | 5797 | 52 | value = static_cast<integer_type>(value); | 5798 | 52 | return ret; | 5799 | 446 | } |
Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERwNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERwNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERwNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl21reader_impl_for_wcharIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERwNS9_10locale_refE |
5800 | | }; |
5801 | | |
5802 | | template <typename CharT> |
5803 | | class reader_impl_for_code_point : public char_reader_base<char32_t> { |
5804 | | public: |
5805 | | template <typename Range> |
5806 | | auto read_default(Range range, char32_t& value, detail::locale_ref loc) |
5807 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5808 | 0 | { |
5809 | 0 | SCN_UNUSED(loc); |
5810 | 0 | return code_point_reader<char32_t>{}.read(range, value); |
5811 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RDiNS0_6detail10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RDiNSA_10locale_refE |
5812 | | |
5813 | | template <typename Range> |
5814 | | auto read_specs(Range range, |
5815 | | const detail::format_specs& specs, |
5816 | | char32_t& value, |
5817 | | detail::locale_ref loc) |
5818 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5819 | 0 | { |
5820 | 0 | SCN_UNUSED(specs); |
5821 | 0 | return read_default(range, value, loc); |
5822 | 0 | } Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERDiNSN_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERDiNSL_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERDiNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl26reader_impl_for_code_pointIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERDiNS9_10locale_refE |
5823 | | }; |
5824 | | |
5825 | | ///////////////////////////////////////////////////////////////// |
5826 | | // Pointer reader |
5827 | | ///////////////////////////////////////////////////////////////// |
5828 | | |
5829 | | template <typename CharT> |
5830 | | class reader_impl_for_voidptr { |
5831 | | public: |
5832 | | constexpr reader_impl_for_voidptr() = default; |
5833 | | |
5834 | | bool skip_ws_before_read() const |
5835 | 2.47k | { |
5836 | 2.47k | return true; |
5837 | 2.47k | } scn::v4::impl::reader_impl_for_voidptr<char>::skip_ws_before_read() const Line | Count | Source | 5835 | 1.27k | { | 5836 | 1.27k | return true; | 5837 | 1.27k | } |
scn::v4::impl::reader_impl_for_voidptr<wchar_t>::skip_ws_before_read() const Line | Count | Source | 5835 | 1.20k | { | 5836 | 1.20k | return true; | 5837 | 1.20k | } |
|
5838 | | |
5839 | | static scan_expected<void> check_specs(const detail::format_specs& specs) |
5840 | 4.46k | { |
5841 | 4.46k | reader_error_handler eh{}; |
5842 | 4.46k | detail::check_pointer_type_specs(specs, eh); |
5843 | 4.46k | if (SCN_UNLIKELY(!eh)) { |
5844 | 3.21k | return detail::unexpected_scan_error( |
5845 | 3.21k | scan_error::invalid_format_string, eh.m_msg); |
5846 | 3.21k | } |
5847 | 1.25k | return {}; |
5848 | 4.46k | } scn::v4::impl::reader_impl_for_voidptr<char>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5840 | 3.05k | { | 5841 | 3.05k | reader_error_handler eh{}; | 5842 | 3.05k | detail::check_pointer_type_specs(specs, eh); | 5843 | 3.05k | if (SCN_UNLIKELY(!eh)) { | 5844 | 2.41k | return detail::unexpected_scan_error( | 5845 | 2.41k | scan_error::invalid_format_string, eh.m_msg); | 5846 | 2.41k | } | 5847 | 640 | return {}; | 5848 | 3.05k | } |
scn::v4::impl::reader_impl_for_voidptr<wchar_t>::check_specs(scn::v4::detail::format_specs const&) Line | Count | Source | 5840 | 1.40k | { | 5841 | 1.40k | reader_error_handler eh{}; | 5842 | 1.40k | detail::check_pointer_type_specs(specs, eh); | 5843 | 1.40k | if (SCN_UNLIKELY(!eh)) { | 5844 | 794 | return detail::unexpected_scan_error( | 5845 | 794 | scan_error::invalid_format_string, eh.m_msg); | 5846 | 794 | } | 5847 | 610 | return {}; | 5848 | 1.40k | } |
|
5849 | | |
5850 | | template <typename Range> |
5851 | | auto read_default(Range range, void*& value, detail::locale_ref loc) |
5852 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5853 | 2.40k | { |
5854 | 2.40k | detail::format_specs specs{}; |
5855 | 2.40k | specs.type = detail::presentation_type::int_hex; |
5856 | | |
5857 | 2.40k | std::uintptr_t intvalue{}; |
5858 | 2.40k | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, |
5859 | 34 | intvalue, loc)); |
5860 | 34 | value = reinterpret_cast<void*>(intvalue); |
5861 | 34 | return result; |
5862 | 2.40k | } _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5853 | 900 | { | 5854 | 900 | detail::format_specs specs{}; | 5855 | 900 | specs.type = detail::presentation_type::int_hex; | 5856 | | | 5857 | 900 | std::uintptr_t intvalue{}; | 5858 | 900 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5859 | 0 | intvalue, loc)); | 5860 | 0 | value = reinterpret_cast<void*>(intvalue); | 5861 | 0 | return result; | 5862 | 900 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5853 | 344 | { | 5854 | 344 | detail::format_specs specs{}; | 5855 | 344 | specs.type = detail::presentation_type::int_hex; | 5856 | | | 5857 | 344 | std::uintptr_t intvalue{}; | 5858 | 344 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5859 | 0 | intvalue, loc)); | 5860 | 0 | value = reinterpret_cast<void*>(intvalue); | 5861 | 0 | return result; | 5862 | 344 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RPvNS0_6detail10locale_refE Line | Count | Source | 5853 | 954 | { | 5854 | 954 | detail::format_specs specs{}; | 5855 | 954 | specs.type = detail::presentation_type::int_hex; | 5856 | | | 5857 | 954 | std::uintptr_t intvalue{}; | 5858 | 954 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5859 | 24 | intvalue, loc)); | 5860 | 24 | value = reinterpret_cast<void*>(intvalue); | 5861 | 24 | return result; | 5862 | 954 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RPvNS0_6detail10locale_refE Line | Count | Source | 5853 | 202 | { | 5854 | 202 | detail::format_specs specs{}; | 5855 | 202 | specs.type = detail::presentation_type::int_hex; | 5856 | | | 5857 | 202 | std::uintptr_t intvalue{}; | 5858 | 202 | SCN_TRY(result, reader_impl_for_int<CharT>{}.read_specs(range, specs, | 5859 | 10 | intvalue, loc)); | 5860 | 10 | value = reinterpret_cast<void*>(intvalue); | 5861 | 10 | return result; | 5862 | 202 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RPvNS9_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE12read_defaultINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RPvNSA_10locale_refE |
5863 | | |
5864 | | template <typename Range> |
5865 | | auto read_specs(Range range, |
5866 | | const detail::format_specs& specs, |
5867 | | void*& value, |
5868 | | detail::locale_ref loc) |
5869 | | -> scan_expected<ranges::const_iterator_t<Range>> |
5870 | 1.21k | { |
5871 | 1.21k | SCN_UNUSED(specs); |
5872 | 1.21k | return read_default(range, value, loc); |
5873 | 1.21k | } _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5870 | 344 | { | 5871 | 344 | SCN_UNUSED(specs); | 5872 | 344 | return read_default(range, value, loc); | 5873 | 344 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKcSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5870 | 268 | { | 5871 | 268 | SCN_UNUSED(specs); | 5872 | 268 | return read_default(range, value, loc); | 5873 | 268 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIcE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwSB_EEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESH_RKNS0_6detail12format_specsERPvNSN_10locale_refE Line | Count | Source | 5870 | 202 | { | 5871 | 202 | SCN_UNUSED(specs); | 5872 | 202 | return read_default(range, value, loc); | 5873 | 202 | } |
_ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeIPKwSA_EEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESF_RKNS0_6detail12format_specsERPvNSL_10locale_refE Line | Count | Source | 5870 | 398 | { | 5871 | 398 | SCN_UNUSED(specs); | 5872 | 398 | return read_default(range, value, loc); | 5873 | 398 | } |
Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS6_18default_sentinel_tEEEEEEENS0_13scan_expectedIDTclL_ZNS6_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESK_RKNSA_12format_specsERPvNSA_10locale_refE Unexecuted instantiation: _ZN3scn2v44impl23reader_impl_for_voidptrIwE10read_specsINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS5_18default_sentinel_tEEEEENS0_13scan_expectedIDTclL_ZNS5_5beginEEclsr3stdE7declvalIRNSt3__19add_constIT_E4typeEEEEEEESI_RKNS9_12format_specsERPvNS9_10locale_refE |
5874 | | }; |
5875 | | |
5876 | | ///////////////////////////////////////////////////////////////// |
5877 | | // Argument readers |
5878 | | ///////////////////////////////////////////////////////////////// |
5879 | | |
5880 | | template <typename Range> |
5881 | | auto skip_ws_before_if_required(bool is_required, Range range) |
5882 | | -> eof_expected<ranges::iterator_t<Range>> |
5883 | 10.6k | { |
5884 | 10.6k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { |
5885 | 0 | return unexpected(e); |
5886 | 0 | } |
5887 | | |
5888 | 10.6k | if (!is_required) { |
5889 | 1.18k | return range.begin(); |
5890 | 1.18k | } |
5891 | | |
5892 | 9.50k | return skip_classic_whitespace(range); |
5893 | 10.6k | } _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5883 | 5.68k | { | 5884 | 5.68k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5885 | 0 | return unexpected(e); | 5886 | 0 | } | 5887 | | | 5888 | 5.68k | if (!is_required) { | 5889 | 632 | return range.begin(); | 5890 | 632 | } | 5891 | | | 5892 | 5.05k | return skip_classic_whitespace(range); | 5893 | 5.68k | } |
Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSB_ Line | Count | Source | 5883 | 5.00k | { | 5884 | 5.00k | if (auto e = eof_check(range); SCN_UNLIKELY(!e)) { | 5885 | 0 | return unexpected(e); | 5886 | 0 | } | 5887 | | | 5888 | 5.00k | if (!is_required) { | 5889 | 556 | return range.begin(); | 5890 | 556 | } | 5891 | | | 5892 | 4.44k | return skip_classic_whitespace(range); | 5893 | 5.00k | } |
Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS1_12eof_expectedIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEEEEbSE_ Unexecuted instantiation: _ZN3scn2v44impl26skip_ws_before_if_requiredINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS1_12eof_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEEEEbSA_ |
5894 | | |
5895 | | template <typename T, typename CharT> |
5896 | | constexpr auto make_reader() |
5897 | 16.9k | { |
5898 | | if constexpr (std::is_same_v<T, bool>) { |
5899 | | return reader_impl_for_bool<CharT>{}; |
5900 | | } |
5901 | | else if constexpr (std::is_same_v<T, char>) { |
5902 | | return reader_impl_for_char<CharT>{}; |
5903 | | } |
5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { |
5905 | | return reader_impl_for_wchar<CharT>{}; |
5906 | | } |
5907 | | else if constexpr (std::is_same_v<T, char32_t>) { |
5908 | | return reader_impl_for_code_point<CharT>{}; |
5909 | | } |
5910 | | else if constexpr (std::is_same_v<T, std::string_view> || |
5911 | 5.65k | std::is_same_v<T, std::wstring_view>) { |
5912 | 5.65k | return reader_impl_for_string<CharT>{}; |
5913 | | } |
5914 | | else if constexpr (std::is_same_v<T, std::string> || |
5915 | 11.3k | std::is_same_v<T, std::wstring>) { |
5916 | 11.3k | return reader_impl_for_string<CharT>{}; |
5917 | | } |
5918 | | #if !SCN_DISABLE_REGEX |
5919 | | else if constexpr (std::is_same_v<T, regex_matches> || |
5920 | | std::is_same_v<T, wregex_matches>) { |
5921 | | return reader_impl_for_regex_matches<CharT>{}; |
5922 | | } |
5923 | | #endif |
5924 | | else if constexpr (std::is_same_v<T, void*>) { |
5925 | | return reader_impl_for_voidptr<CharT>{}; |
5926 | | } |
5927 | | else if constexpr (std::is_floating_point_v<T>) { |
5928 | | return reader_impl_for_float<CharT>{}; |
5929 | | } |
5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && |
5931 | | !std::is_same_v<T, wchar_t> && |
5932 | | !std::is_same_v<T, char32_t> && |
5933 | | !std::is_same_v<T, bool>) { |
5934 | | return reader_impl_for_int<CharT>{}; |
5935 | | } |
5936 | | else { |
5937 | | return reader_impl_for_monostate<CharT>{}; |
5938 | | } |
5939 | 16.9k | } auto scn::v4::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>() Line | Count | Source | 5897 | 3.69k | { | 5898 | | if constexpr (std::is_same_v<T, bool>) { | 5899 | | return reader_impl_for_bool<CharT>{}; | 5900 | | } | 5901 | | else if constexpr (std::is_same_v<T, char>) { | 5902 | | return reader_impl_for_char<CharT>{}; | 5903 | | } | 5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5905 | | return reader_impl_for_wchar<CharT>{}; | 5906 | | } | 5907 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5908 | | return reader_impl_for_code_point<CharT>{}; | 5909 | | } | 5910 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5911 | | std::is_same_v<T, std::wstring_view>) { | 5912 | | return reader_impl_for_string<CharT>{}; | 5913 | | } | 5914 | | else if constexpr (std::is_same_v<T, std::string> || | 5915 | 3.69k | std::is_same_v<T, std::wstring>) { | 5916 | 3.69k | return reader_impl_for_string<CharT>{}; | 5917 | | } | 5918 | | #if !SCN_DISABLE_REGEX | 5919 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5920 | | std::is_same_v<T, wregex_matches>) { | 5921 | | return reader_impl_for_regex_matches<CharT>{}; | 5922 | | } | 5923 | | #endif | 5924 | | else if constexpr (std::is_same_v<T, void*>) { | 5925 | | return reader_impl_for_voidptr<CharT>{}; | 5926 | | } | 5927 | | else if constexpr (std::is_floating_point_v<T>) { | 5928 | | return reader_impl_for_float<CharT>{}; | 5929 | | } | 5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5931 | | !std::is_same_v<T, wchar_t> && | 5932 | | !std::is_same_v<T, char32_t> && | 5933 | | !std::is_same_v<T, bool>) { | 5934 | | return reader_impl_for_int<CharT>{}; | 5935 | | } | 5936 | | else { | 5937 | | return reader_impl_for_monostate<CharT>{}; | 5938 | | } | 5939 | 3.69k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, char>() Line | Count | Source | 5897 | 3.69k | { | 5898 | | if constexpr (std::is_same_v<T, bool>) { | 5899 | | return reader_impl_for_bool<CharT>{}; | 5900 | | } | 5901 | | else if constexpr (std::is_same_v<T, char>) { | 5902 | | return reader_impl_for_char<CharT>{}; | 5903 | | } | 5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5905 | | return reader_impl_for_wchar<CharT>{}; | 5906 | | } | 5907 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5908 | | return reader_impl_for_code_point<CharT>{}; | 5909 | | } | 5910 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5911 | | std::is_same_v<T, std::wstring_view>) { | 5912 | | return reader_impl_for_string<CharT>{}; | 5913 | | } | 5914 | | else if constexpr (std::is_same_v<T, std::string> || | 5915 | 3.69k | std::is_same_v<T, std::wstring>) { | 5916 | 3.69k | return reader_impl_for_string<CharT>{}; | 5917 | | } | 5918 | | #if !SCN_DISABLE_REGEX | 5919 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5920 | | std::is_same_v<T, wregex_matches>) { | 5921 | | return reader_impl_for_regex_matches<CharT>{}; | 5922 | | } | 5923 | | #endif | 5924 | | else if constexpr (std::is_same_v<T, void*>) { | 5925 | | return reader_impl_for_voidptr<CharT>{}; | 5926 | | } | 5927 | | else if constexpr (std::is_floating_point_v<T>) { | 5928 | | return reader_impl_for_float<CharT>{}; | 5929 | | } | 5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5931 | | !std::is_same_v<T, wchar_t> && | 5932 | | !std::is_same_v<T, char32_t> && | 5933 | | !std::is_same_v<T, bool>) { | 5934 | | return reader_impl_for_int<CharT>{}; | 5935 | | } | 5936 | | else { | 5937 | | return reader_impl_for_monostate<CharT>{}; | 5938 | | } | 5939 | 3.69k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, char>() Line | Count | Source | 5897 | 3.69k | { | 5898 | | if constexpr (std::is_same_v<T, bool>) { | 5899 | | return reader_impl_for_bool<CharT>{}; | 5900 | | } | 5901 | | else if constexpr (std::is_same_v<T, char>) { | 5902 | | return reader_impl_for_char<CharT>{}; | 5903 | | } | 5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5905 | | return reader_impl_for_wchar<CharT>{}; | 5906 | | } | 5907 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5908 | | return reader_impl_for_code_point<CharT>{}; | 5909 | | } | 5910 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5911 | 3.69k | std::is_same_v<T, std::wstring_view>) { | 5912 | 3.69k | return reader_impl_for_string<CharT>{}; | 5913 | | } | 5914 | | else if constexpr (std::is_same_v<T, std::string> || | 5915 | | std::is_same_v<T, std::wstring>) { | 5916 | | return reader_impl_for_string<CharT>{}; | 5917 | | } | 5918 | | #if !SCN_DISABLE_REGEX | 5919 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5920 | | std::is_same_v<T, wregex_matches>) { | 5921 | | return reader_impl_for_regex_matches<CharT>{}; | 5922 | | } | 5923 | | #endif | 5924 | | else if constexpr (std::is_same_v<T, void*>) { | 5925 | | return reader_impl_for_voidptr<CharT>{}; | 5926 | | } | 5927 | | else if constexpr (std::is_floating_point_v<T>) { | 5928 | | return reader_impl_for_float<CharT>{}; | 5929 | | } | 5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5931 | | !std::is_same_v<T, wchar_t> && | 5932 | | !std::is_same_v<T, char32_t> && | 5933 | | !std::is_same_v<T, bool>) { | 5934 | | return reader_impl_for_int<CharT>{}; | 5935 | | } | 5936 | | else { | 5937 | | return reader_impl_for_monostate<CharT>{}; | 5938 | | } | 5939 | 3.69k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, char>() auto scn::v4::impl::make_reader<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, wchar_t>() Line | Count | Source | 5897 | 1.96k | { | 5898 | | if constexpr (std::is_same_v<T, bool>) { | 5899 | | return reader_impl_for_bool<CharT>{}; | 5900 | | } | 5901 | | else if constexpr (std::is_same_v<T, char>) { | 5902 | | return reader_impl_for_char<CharT>{}; | 5903 | | } | 5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5905 | | return reader_impl_for_wchar<CharT>{}; | 5906 | | } | 5907 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5908 | | return reader_impl_for_code_point<CharT>{}; | 5909 | | } | 5910 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5911 | | std::is_same_v<T, std::wstring_view>) { | 5912 | | return reader_impl_for_string<CharT>{}; | 5913 | | } | 5914 | | else if constexpr (std::is_same_v<T, std::string> || | 5915 | 1.96k | std::is_same_v<T, std::wstring>) { | 5916 | 1.96k | return reader_impl_for_string<CharT>{}; | 5917 | | } | 5918 | | #if !SCN_DISABLE_REGEX | 5919 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5920 | | std::is_same_v<T, wregex_matches>) { | 5921 | | return reader_impl_for_regex_matches<CharT>{}; | 5922 | | } | 5923 | | #endif | 5924 | | else if constexpr (std::is_same_v<T, void*>) { | 5925 | | return reader_impl_for_voidptr<CharT>{}; | 5926 | | } | 5927 | | else if constexpr (std::is_floating_point_v<T>) { | 5928 | | return reader_impl_for_float<CharT>{}; | 5929 | | } | 5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5931 | | !std::is_same_v<T, wchar_t> && | 5932 | | !std::is_same_v<T, char32_t> && | 5933 | | !std::is_same_v<T, bool>) { | 5934 | | return reader_impl_for_int<CharT>{}; | 5935 | | } | 5936 | | else { | 5937 | | return reader_impl_for_monostate<CharT>{}; | 5938 | | } | 5939 | 1.96k | } |
auto scn::v4::impl::make_reader<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >, wchar_t>() Line | Count | Source | 5897 | 1.96k | { | 5898 | | if constexpr (std::is_same_v<T, bool>) { | 5899 | | return reader_impl_for_bool<CharT>{}; | 5900 | | } | 5901 | | else if constexpr (std::is_same_v<T, char>) { | 5902 | | return reader_impl_for_char<CharT>{}; | 5903 | | } | 5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5905 | | return reader_impl_for_wchar<CharT>{}; | 5906 | | } | 5907 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5908 | | return reader_impl_for_code_point<CharT>{}; | 5909 | | } | 5910 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5911 | | std::is_same_v<T, std::wstring_view>) { | 5912 | | return reader_impl_for_string<CharT>{}; | 5913 | | } | 5914 | | else if constexpr (std::is_same_v<T, std::string> || | 5915 | 1.96k | std::is_same_v<T, std::wstring>) { | 5916 | 1.96k | return reader_impl_for_string<CharT>{}; | 5917 | | } | 5918 | | #if !SCN_DISABLE_REGEX | 5919 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5920 | | std::is_same_v<T, wregex_matches>) { | 5921 | | return reader_impl_for_regex_matches<CharT>{}; | 5922 | | } | 5923 | | #endif | 5924 | | else if constexpr (std::is_same_v<T, void*>) { | 5925 | | return reader_impl_for_voidptr<CharT>{}; | 5926 | | } | 5927 | | else if constexpr (std::is_floating_point_v<T>) { | 5928 | | return reader_impl_for_float<CharT>{}; | 5929 | | } | 5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5931 | | !std::is_same_v<T, wchar_t> && | 5932 | | !std::is_same_v<T, char32_t> && | 5933 | | !std::is_same_v<T, bool>) { | 5934 | | return reader_impl_for_int<CharT>{}; | 5935 | | } | 5936 | | else { | 5937 | | return reader_impl_for_monostate<CharT>{}; | 5938 | | } | 5939 | 1.96k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<std::__1::basic_string_view<char, std::__1::char_traits<char> >, wchar_t>() auto scn::v4::impl::make_reader<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >, wchar_t>() Line | Count | Source | 5897 | 1.96k | { | 5898 | | if constexpr (std::is_same_v<T, bool>) { | 5899 | | return reader_impl_for_bool<CharT>{}; | 5900 | | } | 5901 | | else if constexpr (std::is_same_v<T, char>) { | 5902 | | return reader_impl_for_char<CharT>{}; | 5903 | | } | 5904 | | else if constexpr (std::is_same_v<T, wchar_t>) { | 5905 | | return reader_impl_for_wchar<CharT>{}; | 5906 | | } | 5907 | | else if constexpr (std::is_same_v<T, char32_t>) { | 5908 | | return reader_impl_for_code_point<CharT>{}; | 5909 | | } | 5910 | | else if constexpr (std::is_same_v<T, std::string_view> || | 5911 | 1.96k | std::is_same_v<T, std::wstring_view>) { | 5912 | 1.96k | return reader_impl_for_string<CharT>{}; | 5913 | | } | 5914 | | else if constexpr (std::is_same_v<T, std::string> || | 5915 | | std::is_same_v<T, std::wstring>) { | 5916 | | return reader_impl_for_string<CharT>{}; | 5917 | | } | 5918 | | #if !SCN_DISABLE_REGEX | 5919 | | else if constexpr (std::is_same_v<T, regex_matches> || | 5920 | | std::is_same_v<T, wregex_matches>) { | 5921 | | return reader_impl_for_regex_matches<CharT>{}; | 5922 | | } | 5923 | | #endif | 5924 | | else if constexpr (std::is_same_v<T, void*>) { | 5925 | | return reader_impl_for_voidptr<CharT>{}; | 5926 | | } | 5927 | | else if constexpr (std::is_floating_point_v<T>) { | 5928 | | return reader_impl_for_float<CharT>{}; | 5929 | | } | 5930 | | else if constexpr (std::is_integral_v<T> && !std::is_same_v<T, char> && | 5931 | | !std::is_same_v<T, wchar_t> && | 5932 | | !std::is_same_v<T, char32_t> && | 5933 | | !std::is_same_v<T, bool>) { | 5934 | | return reader_impl_for_int<CharT>{}; | 5935 | | } | 5936 | | else { | 5937 | | return reader_impl_for_monostate<CharT>{}; | 5938 | | } | 5939 | 1.96k | } |
Unexecuted instantiation: auto scn::v4::impl::make_reader<char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<signed char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<short, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<int, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned char, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned short, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned int, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long long, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<float, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<double, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long double, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<char>, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<wchar_t>, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<wchar_t, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<signed char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<short, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<int, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned short, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned int, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned long long, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<float, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<double, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<long double, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<char>, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::basic_regex_matches<wchar_t>, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<__int128, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned __int128, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<void*, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<bool, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<wchar_t, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char32_t, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::monostate, char>() Unexecuted instantiation: auto scn::v4::impl::make_reader<__int128, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<unsigned __int128, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<void*, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<bool, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<char32_t, wchar_t>() Unexecuted instantiation: auto scn::v4::impl::make_reader<scn::v4::monostate, wchar_t>() |
5940 | | |
5941 | | template <typename Context> |
5942 | | struct default_arg_reader { |
5943 | | using context_type = Context; |
5944 | | using char_type = typename context_type::char_type; |
5945 | | using args_type = basic_scan_args<detail::default_context<char_type>>; |
5946 | | |
5947 | | using range_type = typename context_type::range_type; |
5948 | | using iterator = ranges::iterator_t<range_type>; |
5949 | | |
5950 | | template <typename Reader, typename Range, typename T> |
5951 | | auto impl(Reader& rd, Range rng, T& value) |
5952 | | -> scan_expected<ranges::iterator_t<Range>> |
5953 | 10.6k | { |
5954 | 10.6k | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) |
5955 | 10.6k | .transform_error(make_eof_scan_error)); |
5956 | 10.6k | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); |
5957 | 10.6k | } Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_nEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_oEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_23reader_impl_for_voidptrIcEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_boolIcEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_charIcEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_wcharIcEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_26reader_impl_for_code_pointIcEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_25reader_impl_for_monostateIcEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5953 | 632 | { | 5954 | 632 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 632 | .transform_error(make_eof_scan_error)); | 5956 | 632 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 632 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEnEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEoEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIcSE_NSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIwNSD_IwEENSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_nEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_oEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_23reader_impl_for_voidptrIwEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_boolIwEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_charIwEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_wcharIwEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_26reader_impl_for_code_pointIwEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_25reader_impl_for_monostateIwEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
_ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 5953 | 556 | { | 5954 | 556 | SCN_TRY(it, skip_ws_before_if_required(rd.skip_ws_before_read(), rng) | 5955 | 556 | .transform_error(make_eof_scan_error)); | 5956 | 556 | return rd.read_default(ranges::subrange{it, rng.end()}, value, loc); | 5957 | 556 | } |
Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEnEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEoEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIcNSD_IcEENSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIwSE_NSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl18default_arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ |
5958 | | |
5959 | | template <typename T> |
5960 | | scan_expected<iterator> operator()(T& value) |
5961 | 10.6k | { |
5962 | | if constexpr (!detail::is_type_disabled<T> && |
5963 | | std::is_same_v< |
5964 | | context_type, |
5965 | 10.6k | basic_contiguous_scan_context<char_type>>) { |
5966 | 10.6k | auto rd = make_reader<T, char_type>(); |
5967 | 10.6k | return impl(rd, range, value); |
5968 | | } |
5969 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
5970 | 0 | auto rd = make_reader<T, char_type>(); |
5971 | 0 | if (!is_segment_contiguous(range)) { |
5972 | 0 | return impl(rd, range, value); |
5973 | 0 | } |
5974 | 0 | auto crange = get_as_contiguous(range); |
5975 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
5976 | 0 | return ranges::next(range.begin(), |
5977 | 0 | ranges::distance(crange.begin(), it)); |
5978 | | } |
5979 | | else { |
5980 | | SCN_EXPECT(false); |
5981 | | SCN_UNREACHABLE; |
5982 | | } |
5983 | 10.6k | } Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<short>(short&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<int>(int&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned __int128>(unsigned __int128&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<void*>(void*&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<bool>(bool&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char>(char&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<float>(float&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<double>(double&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
scn::v4::scan_expected<char const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 5961 | 632 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 632 | basic_contiguous_scan_context<char_type>>) { | 5966 | 632 | auto rd = make_reader<T, char_type>(); | 5967 | 632 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 632 | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned __int128>(unsigned __int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<short>(short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<int>(int&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned __int128>(unsigned __int128&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char>(char&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<float>(float&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<double>(double&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 5961 | 556 | { | 5962 | | if constexpr (!detail::is_type_disabled<T> && | 5963 | | std::is_same_v< | 5964 | | context_type, | 5965 | 556 | basic_contiguous_scan_context<char_type>>) { | 5966 | 556 | auto rd = make_reader<T, char_type>(); | 5967 | 556 | return impl(rd, range, value); | 5968 | | } | 5969 | | else if constexpr (!detail::is_type_disabled<T>) { | 5970 | | auto rd = make_reader<T, char_type>(); | 5971 | | if (!is_segment_contiguous(range)) { | 5972 | | return impl(rd, range, value); | 5973 | | } | 5974 | | auto crange = get_as_contiguous(range); | 5975 | | SCN_TRY(it, impl(rd, crange, value)); | 5976 | | return ranges::next(range.begin(), | 5977 | | ranges::distance(crange.begin(), it)); | 5978 | | } | 5979 | | else { | 5980 | | SCN_EXPECT(false); | 5981 | | SCN_UNREACHABLE; | 5982 | | } | 5983 | 556 | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned __int128>(unsigned __int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) |
5984 | | |
5985 | | detail::default_context<char_type> make_custom_ctx() |
5986 | 0 | { |
5987 | | if constexpr (std::is_same_v< |
5988 | | context_type, |
5989 | 0 | basic_contiguous_scan_context<char_type>>) { |
5990 | 0 | auto it = |
5991 | 0 | typename detail::basic_scan_buffer<char_type>::forward_iterator{ |
5992 | 0 | std::basic_string_view<char_type>(range.data(), |
5993 | 0 | range.size()), |
5994 | 0 | 0}; |
5995 | 0 | return {it, args, loc}; |
5996 | | } |
5997 | 0 | else { |
5998 | 0 | return {range.begin(), args, loc}; |
5999 | 0 | } |
6000 | 0 | } Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::make_custom_ctx() Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::make_custom_ctx() |
6001 | | |
6002 | | scan_expected<iterator> operator()( |
6003 | | typename basic_scan_arg<detail::default_context<char_type>>::handle h) |
6004 | 0 | { |
6005 | 0 | if constexpr (!detail::is_type_disabled<void>) { |
6006 | 0 | basic_scan_parse_context<char_type> parse_ctx{ |
6007 | 0 | source_tag<range_type>, {}}; |
6008 | 0 | auto ctx = make_custom_ctx(); |
6009 | 0 | SCN_TRY_DISCARD(h.scan(parse_ctx, ctx)); |
6010 | |
|
6011 | | if constexpr (std::is_same_v< |
6012 | | context_type, |
6013 | 0 | basic_contiguous_scan_context<char_type>>) { |
6014 | 0 | return range.begin() + ctx.begin().position(); |
6015 | | } |
6016 | 0 | else { |
6017 | 0 | return ctx.begin(); |
6018 | 0 | } |
6019 | | } |
6020 | | else { |
6021 | | SCN_EXPECT(false); |
6022 | | SCN_UNREACHABLE; |
6023 | | } |
6024 | 0 | } Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) Unexecuted instantiation: scn::v4::impl::default_arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) |
6025 | | |
6026 | | range_type range; |
6027 | | args_type args; |
6028 | | detail::locale_ref loc; |
6029 | | }; |
6030 | | |
6031 | | template <typename Iterator> |
6032 | | using skip_fill_result = std::pair<Iterator, std::ptrdiff_t>; |
6033 | | |
6034 | | template <typename Range> |
6035 | | auto skip_fill(Range range, |
6036 | | std::ptrdiff_t max_width, |
6037 | | const detail::fill_type& fill, |
6038 | | bool want_skipped_width) |
6039 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6040 | 4.25k | { |
6041 | 4.25k | using char_type = detail::char_t<Range>; |
6042 | 4.25k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6043 | | |
6044 | 4.25k | if (fill.size() <= sizeof(char_type)) { |
6045 | 2.79k | const auto fill_ch = fill.template get_code_unit<char_type>(); |
6046 | 4.45k | const auto pred = [=](char_type ch) { return ch == fill_ch; };Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlcE_clEc _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 6046 | 908 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Unexecuted instantiation: _ZZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEbENKUlwE_clEw _ZZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 6046 | 2.04k | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlcE_clEc Line | Count | Source | 6046 | 732 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
_ZZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEbENKUlwE_clEw Line | Count | Source | 6046 | 766 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; |
|
6047 | | |
6048 | 2.79k | if (max_width == 0) { |
6049 | 1.47k | auto it = read_while_code_unit(range, pred); |
6050 | | |
6051 | 1.47k | if (want_skipped_width) { |
6052 | 250 | auto prefix_width = |
6053 | 250 | static_cast<std::ptrdiff_t>( |
6054 | 250 | calculate_text_width(static_cast<char32_t>(fill_ch))) * |
6055 | 250 | ranges::distance(range.begin(), it); |
6056 | 250 | return result_type{it, prefix_width}; |
6057 | 250 | } |
6058 | 1.22k | return result_type{it, 0}; |
6059 | 1.47k | } |
6060 | | |
6061 | 1.32k | auto max_width_view = take_width(range, max_width); |
6062 | 1.32k | auto w_it = read_while_code_unit(max_width_view, pred); |
6063 | | |
6064 | 1.32k | if (want_skipped_width) { |
6065 | 1.32k | return result_type{w_it.base(), max_width - w_it.count()}; |
6066 | 1.32k | } |
6067 | 0 | return result_type{w_it.base(), 0}; |
6068 | 1.32k | } |
6069 | | |
6070 | 1.46k | const auto fill_chars = fill.template get_code_units<char_type>(); |
6071 | 1.46k | if (max_width == 0) { |
6072 | 354 | auto it = read_while_code_units(range, fill_chars); |
6073 | | |
6074 | 354 | if (want_skipped_width) { |
6075 | 118 | auto prefix_width = |
6076 | 118 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * |
6077 | 118 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); |
6078 | 118 | return result_type{it, prefix_width}; |
6079 | 118 | } |
6080 | 236 | return result_type{it, 0}; |
6081 | 354 | } |
6082 | | |
6083 | 1.10k | auto max_width_view = take_width(range, max_width); |
6084 | 1.10k | auto w_it = read_while_code_units(max_width_view, fill_chars); |
6085 | | |
6086 | 1.10k | if (want_skipped_width) { |
6087 | 1.10k | return result_type{w_it.base(), max_width - w_it.count()}; |
6088 | 1.10k | } |
6089 | 0 | return result_type{w_it.base(), 0}; |
6090 | 1.10k | } Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIcE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIcNS4_11char_traitsIcEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIcNS3_11char_traitsIcEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKcS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 6040 | 1.17k | { | 6041 | 1.17k | using char_type = detail::char_t<Range>; | 6042 | 1.17k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6043 | | | 6044 | 1.17k | if (fill.size() <= sizeof(char_type)) { | 6045 | 490 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 6046 | 490 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 6047 | | | 6048 | 490 | if (max_width == 0) { | 6049 | 386 | auto it = read_while_code_unit(range, pred); | 6050 | | | 6051 | 386 | if (want_skipped_width) { | 6052 | 112 | auto prefix_width = | 6053 | 112 | static_cast<std::ptrdiff_t>( | 6054 | 112 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6055 | 112 | ranges::distance(range.begin(), it); | 6056 | 112 | return result_type{it, prefix_width}; | 6057 | 112 | } | 6058 | 274 | return result_type{it, 0}; | 6059 | 386 | } | 6060 | | | 6061 | 104 | auto max_width_view = take_width(range, max_width); | 6062 | 104 | auto w_it = read_while_code_unit(max_width_view, pred); | 6063 | | | 6064 | 104 | if (want_skipped_width) { | 6065 | 104 | return result_type{w_it.base(), max_width - w_it.count()}; | 6066 | 104 | } | 6067 | 0 | return result_type{w_it.base(), 0}; | 6068 | 104 | } | 6069 | | | 6070 | 688 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6071 | 688 | if (max_width == 0) { | 6072 | 354 | auto it = read_while_code_units(range, fill_chars); | 6073 | | | 6074 | 354 | if (want_skipped_width) { | 6075 | 118 | auto prefix_width = | 6076 | 118 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6077 | 118 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6078 | 118 | return result_type{it, prefix_width}; | 6079 | 118 | } | 6080 | 236 | return result_type{it, 0}; | 6081 | 354 | } | 6082 | | | 6083 | 334 | auto max_width_view = take_width(range, max_width); | 6084 | 334 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6085 | | | 6086 | 334 | if (want_skipped_width) { | 6087 | 334 | return result_type{w_it.base(), max_width - w_it.count()}; | 6088 | 334 | } | 6089 | 0 | return result_type{w_it.base(), 0}; | 6090 | 334 | } |
Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS4_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESI_lRKNS8_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeINS0_6detail17basic_scan_bufferIwE16forward_iteratorENS3_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESG_lRKNS7_9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINS1_15take_width_viewINSt3__117basic_string_viewIwNS4_11char_traitsIwEEEEEEEENS0_13scan_expectedINS4_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Unexecuted instantiation: _ZN3scn2v44impl9skip_fillINSt3__117basic_string_viewIwNS3_11char_traitsIwEEEEEENS0_13scan_expectedINS3_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESB_lRKNS0_6detail9fill_typeEb _ZN3scn2v44impl9skip_fillINS0_6ranges6detail9subrange_8subrangeIPKwS8_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS3_5beginEEclsr3stdE7declvalIRT_EEEElEEEESD_lRKNS0_6detail9fill_typeEb Line | Count | Source | 6040 | 1.28k | { | 6041 | 1.28k | using char_type = detail::char_t<Range>; | 6042 | 1.28k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6043 | | | 6044 | 1.28k | if (fill.size() <= sizeof(char_type)) { | 6045 | 1.28k | const auto fill_ch = fill.template get_code_unit<char_type>(); | 6046 | 1.28k | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 6047 | | | 6048 | 1.28k | if (max_width == 0) { | 6049 | 1.08k | auto it = read_while_code_unit(range, pred); | 6050 | | | 6051 | 1.08k | if (want_skipped_width) { | 6052 | 138 | auto prefix_width = | 6053 | 138 | static_cast<std::ptrdiff_t>( | 6054 | 138 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6055 | 138 | ranges::distance(range.begin(), it); | 6056 | 138 | return result_type{it, prefix_width}; | 6057 | 138 | } | 6058 | 948 | return result_type{it, 0}; | 6059 | 1.08k | } | 6060 | | | 6061 | 198 | auto max_width_view = take_width(range, max_width); | 6062 | 198 | auto w_it = read_while_code_unit(max_width_view, pred); | 6063 | | | 6064 | 198 | if (want_skipped_width) { | 6065 | 198 | return result_type{w_it.base(), max_width - w_it.count()}; | 6066 | 198 | } | 6067 | 0 | return result_type{w_it.base(), 0}; | 6068 | 198 | } | 6069 | | | 6070 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6071 | 0 | if (max_width == 0) { | 6072 | 0 | auto it = read_while_code_units(range, fill_chars); | 6073 | |
| 6074 | 0 | if (want_skipped_width) { | 6075 | 0 | auto prefix_width = | 6076 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6077 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6078 | 0 | return result_type{it, prefix_width}; | 6079 | 0 | } | 6080 | 0 | return result_type{it, 0}; | 6081 | 0 | } | 6082 | | | 6083 | 0 | auto max_width_view = take_width(range, max_width); | 6084 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6085 | |
| 6086 | 0 | if (want_skipped_width) { | 6087 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 6088 | 0 | } | 6089 | 0 | return result_type{w_it.base(), 0}; | 6090 | 0 | } |
_ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 6040 | 1.29k | { | 6041 | 1.29k | using char_type = detail::char_t<Range>; | 6042 | 1.29k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6043 | | | 6044 | 1.29k | if (fill.size() <= sizeof(char_type)) { | 6045 | 516 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 6046 | 516 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 6047 | | | 6048 | 516 | if (max_width == 0) { | 6049 | 0 | auto it = read_while_code_unit(range, pred); | 6050 | |
| 6051 | 0 | if (want_skipped_width) { | 6052 | 0 | auto prefix_width = | 6053 | 0 | static_cast<std::ptrdiff_t>( | 6054 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6055 | 0 | ranges::distance(range.begin(), it); | 6056 | 0 | return result_type{it, prefix_width}; | 6057 | 0 | } | 6058 | 0 | return result_type{it, 0}; | 6059 | 0 | } | 6060 | | | 6061 | 516 | auto max_width_view = take_width(range, max_width); | 6062 | 516 | auto w_it = read_while_code_unit(max_width_view, pred); | 6063 | | | 6064 | 516 | if (want_skipped_width) { | 6065 | 516 | return result_type{w_it.base(), max_width - w_it.count()}; | 6066 | 516 | } | 6067 | 0 | return result_type{w_it.base(), 0}; | 6068 | 516 | } | 6069 | | | 6070 | 774 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6071 | 774 | if (max_width == 0) { | 6072 | 0 | auto it = read_while_code_units(range, fill_chars); | 6073 | |
| 6074 | 0 | if (want_skipped_width) { | 6075 | 0 | auto prefix_width = | 6076 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6077 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6078 | 0 | return result_type{it, prefix_width}; | 6079 | 0 | } | 6080 | 0 | return result_type{it, 0}; | 6081 | 0 | } | 6082 | | | 6083 | 774 | auto max_width_view = take_width(range, max_width); | 6084 | 774 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6085 | | | 6086 | 774 | if (want_skipped_width) { | 6087 | 774 | return result_type{w_it.base(), max_width - w_it.count()}; | 6088 | 774 | } | 6089 | 0 | return result_type{w_it.base(), 0}; | 6090 | 774 | } |
_ZN3scn2v44impl9skip_fillINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESF_lRKNS0_6detail9fill_typeEb Line | Count | Source | 6040 | 502 | { | 6041 | 502 | using char_type = detail::char_t<Range>; | 6042 | 502 | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6043 | | | 6044 | 502 | if (fill.size() <= sizeof(char_type)) { | 6045 | 502 | const auto fill_ch = fill.template get_code_unit<char_type>(); | 6046 | 502 | const auto pred = [=](char_type ch) { return ch == fill_ch; }; | 6047 | | | 6048 | 502 | if (max_width == 0) { | 6049 | 0 | auto it = read_while_code_unit(range, pred); | 6050 | |
| 6051 | 0 | if (want_skipped_width) { | 6052 | 0 | auto prefix_width = | 6053 | 0 | static_cast<std::ptrdiff_t>( | 6054 | 0 | calculate_text_width(static_cast<char32_t>(fill_ch))) * | 6055 | 0 | ranges::distance(range.begin(), it); | 6056 | 0 | return result_type{it, prefix_width}; | 6057 | 0 | } | 6058 | 0 | return result_type{it, 0}; | 6059 | 0 | } | 6060 | | | 6061 | 502 | auto max_width_view = take_width(range, max_width); | 6062 | 502 | auto w_it = read_while_code_unit(max_width_view, pred); | 6063 | | | 6064 | 502 | if (want_skipped_width) { | 6065 | 502 | return result_type{w_it.base(), max_width - w_it.count()}; | 6066 | 502 | } | 6067 | 0 | return result_type{w_it.base(), 0}; | 6068 | 502 | } | 6069 | | | 6070 | 0 | const auto fill_chars = fill.template get_code_units<char_type>(); | 6071 | 0 | if (max_width == 0) { | 6072 | 0 | auto it = read_while_code_units(range, fill_chars); | 6073 | |
| 6074 | 0 | if (want_skipped_width) { | 6075 | 0 | auto prefix_width = | 6076 | 0 | static_cast<std::ptrdiff_t>(calculate_text_width(fill_chars)) * | 6077 | 0 | ranges::distance(range.begin(), it) / ranges::ssize(fill_chars); | 6078 | 0 | return result_type{it, prefix_width}; | 6079 | 0 | } | 6080 | 0 | return result_type{it, 0}; | 6081 | 0 | } | 6082 | | | 6083 | 0 | auto max_width_view = take_width(range, max_width); | 6084 | 0 | auto w_it = read_while_code_units(max_width_view, fill_chars); | 6085 | |
| 6086 | 0 | if (want_skipped_width) { | 6087 | 0 | return result_type{w_it.base(), max_width - w_it.count()}; | 6088 | 0 | } | 6089 | 0 | return result_type{w_it.base(), 0}; | 6090 | 0 | } |
|
6091 | | |
6092 | | SCN_MAYBE_UNUSED constexpr scan_expected<void> check_widths_for_arg_reader( |
6093 | | const detail::format_specs& specs, |
6094 | | std::ptrdiff_t prefix_width, |
6095 | | std::ptrdiff_t value_width, |
6096 | | std::ptrdiff_t postfix_width) |
6097 | 9.30k | { |
6098 | 9.30k | if (specs.width != 0) { |
6099 | 2.24k | if (prefix_width + value_width + postfix_width < specs.width) { |
6100 | 936 | return detail::unexpected_scan_error( |
6101 | 936 | scan_error::length_too_short, |
6102 | 936 | "Scanned value too narrow, width did not exceed what " |
6103 | 936 | "was specified in the format string"); |
6104 | 936 | } |
6105 | 2.24k | } |
6106 | 8.36k | if (specs.precision != 0) { |
6107 | | // Ensured by take_width_view |
6108 | 3.05k | SCN_ENSURE(prefix_width + value_width + postfix_width <= |
6109 | 3.05k | specs.precision); |
6110 | 3.05k | } |
6111 | 8.36k | return {}; |
6112 | 8.36k | } |
6113 | | |
6114 | | template <typename Context> |
6115 | | struct arg_reader { |
6116 | | using context_type = Context; |
6117 | | using char_type = typename context_type::char_type; |
6118 | | |
6119 | | using range_type = typename context_type::range_type; |
6120 | | using iterator = ranges::iterator_t<range_type>; |
6121 | | |
6122 | | template <typename Range> |
6123 | | auto impl_prefix(Range rng, bool rd_skip_ws_before_read) |
6124 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6125 | 21.1k | { |
6126 | 21.1k | const bool need_skipped_width = |
6127 | 21.1k | specs.width != 0 || specs.precision != 0; |
6128 | 21.1k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6129 | | |
6130 | | // Read prefix |
6131 | 21.1k | if (specs.align == detail::align_type::right || |
6132 | 21.1k | specs.align == detail::align_type::center) { |
6133 | 3.00k | return skip_fill(rng, specs.precision, specs.fill, |
6134 | 3.00k | need_skipped_width); |
6135 | 3.00k | } |
6136 | 18.1k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { |
6137 | | // Default alignment: |
6138 | | // Skip preceding whitespace, if required by the reader |
6139 | 8.65k | if (specs.precision != 0) { |
6140 | 4.12k | auto max_width_view = take_width(rng, specs.precision); |
6141 | 4.12k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) |
6142 | 3.77k | .transform_error(make_eof_scan_error)); |
6143 | 3.77k | return result_type{w_it.base(), specs.precision - w_it.count()}; |
6144 | 4.12k | } |
6145 | 9.06k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( |
6146 | 9.06k | make_eof_scan_error)); |
6147 | | |
6148 | 9.06k | if (need_skipped_width) { |
6149 | 3.03k | return result_type{ |
6150 | 3.03k | it, |
6151 | 3.03k | calculate_text_width(make_contiguous_buffer( |
6152 | 3.03k | ranges::subrange{rng.begin(), it}) |
6153 | 3.03k | .view())}; |
6154 | 3.03k | } |
6155 | 1.49k | return result_type{it, 0}; |
6156 | 9.06k | } |
6157 | | |
6158 | 9.50k | return result_type{rng.begin(), 0}; |
6159 | 18.1k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEElEEEESN_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIcNSA_11char_traitsIcEEEEEEEENS0_13scan_expectedINSA_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE11impl_prefixINSt3__117basic_string_viewIcNS9_11char_traitsIcEEEEEENS0_13scan_expectedINS9_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS1_15take_width_viewINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSA_18default_sentinel_tEEEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEElEEEESN_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINS1_15take_width_viewINSt3__117basic_string_viewIwNSA_11char_traitsIwEEEEEEEENS0_13scan_expectedINSA_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE11impl_prefixINSt3__117basic_string_viewIwNS9_11char_traitsIwEEEEEENS0_13scan_expectedINS9_4pairIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE11impl_prefixINS1_15take_width_viewISA_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6125 | 5.95k | { | 6126 | 5.95k | const bool need_skipped_width = | 6127 | 5.95k | specs.width != 0 || specs.precision != 0; | 6128 | 5.95k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6129 | | | 6130 | | // Read prefix | 6131 | 5.95k | if (specs.align == detail::align_type::right || | 6132 | 5.95k | specs.align == detail::align_type::center) { | 6133 | 1.29k | return skip_fill(rng, specs.precision, specs.fill, | 6134 | 1.29k | need_skipped_width); | 6135 | 1.29k | } | 6136 | 4.66k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6137 | | // Default alignment: | 6138 | | // Skip preceding whitespace, if required by the reader | 6139 | 2.47k | if (specs.precision != 0) { | 6140 | 2.47k | auto max_width_view = take_width(rng, specs.precision); | 6141 | 2.47k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6142 | 2.23k | .transform_error(make_eof_scan_error)); | 6143 | 2.23k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6144 | 2.47k | } | 6145 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6146 | 0 | make_eof_scan_error)); | 6147 | |
| 6148 | 0 | if (need_skipped_width) { | 6149 | 0 | return result_type{ | 6150 | 0 | it, | 6151 | 0 | calculate_text_width(make_contiguous_buffer( | 6152 | 0 | ranges::subrange{rng.begin(), it}) | 6153 | 0 | .view())}; | 6154 | 0 | } | 6155 | 0 | return result_type{it, 0}; | 6156 | 0 | } | 6157 | | | 6158 | 2.18k | return result_type{rng.begin(), 0}; | 6159 | 4.66k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE11impl_prefixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6125 | 7.28k | { | 6126 | 7.28k | const bool need_skipped_width = | 6127 | 7.28k | specs.width != 0 || specs.precision != 0; | 6128 | 7.28k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6129 | | | 6130 | | // Read prefix | 6131 | 7.28k | if (specs.align == detail::align_type::right || | 6132 | 7.28k | specs.align == detail::align_type::center) { | 6133 | 504 | return skip_fill(rng, specs.precision, specs.fill, | 6134 | 504 | need_skipped_width); | 6135 | 504 | } | 6136 | 6.77k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6137 | | // Default alignment: | 6138 | | // Skip preceding whitespace, if required by the reader | 6139 | 1.73k | if (specs.precision != 0) { | 6140 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6141 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6142 | 0 | .transform_error(make_eof_scan_error)); | 6143 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6144 | 0 | } | 6145 | 3.47k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6146 | 3.47k | make_eof_scan_error)); | 6147 | | | 6148 | 3.47k | if (need_skipped_width) { | 6149 | 1.11k | return result_type{ | 6150 | 1.11k | it, | 6151 | 1.11k | calculate_text_width(make_contiguous_buffer( | 6152 | 1.11k | ranges::subrange{rng.begin(), it}) | 6153 | 1.11k | .view())}; | 6154 | 1.11k | } | 6155 | 628 | return result_type{it, 0}; | 6156 | 3.47k | } | 6157 | | | 6158 | 5.04k | return result_type{rng.begin(), 0}; | 6159 | 6.77k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE11impl_prefixINS1_15take_width_viewISA_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_b Line | Count | Source | 6125 | 3.00k | { | 6126 | 3.00k | const bool need_skipped_width = | 6127 | 3.00k | specs.width != 0 || specs.precision != 0; | 6128 | 3.00k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6129 | | | 6130 | | // Read prefix | 6131 | 3.00k | if (specs.align == detail::align_type::right || | 6132 | 3.00k | specs.align == detail::align_type::center) { | 6133 | 502 | return skip_fill(rng, specs.precision, specs.fill, | 6134 | 502 | need_skipped_width); | 6135 | 502 | } | 6136 | 2.50k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6137 | | // Default alignment: | 6138 | | // Skip preceding whitespace, if required by the reader | 6139 | 1.65k | if (specs.precision != 0) { | 6140 | 1.65k | auto max_width_view = take_width(rng, specs.precision); | 6141 | 1.65k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6142 | 1.53k | .transform_error(make_eof_scan_error)); | 6143 | 1.53k | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6144 | 1.65k | } | 6145 | 0 | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6146 | 0 | make_eof_scan_error)); | 6147 | |
| 6148 | 0 | if (need_skipped_width) { | 6149 | 0 | return result_type{ | 6150 | 0 | it, | 6151 | 0 | calculate_text_width(make_contiguous_buffer( | 6152 | 0 | ranges::subrange{rng.begin(), it}) | 6153 | 0 | .view())}; | 6154 | 0 | } | 6155 | 0 | return result_type{it, 0}; | 6156 | 0 | } | 6157 | | | 6158 | 850 | return result_type{rng.begin(), 0}; | 6159 | 2.50k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE11impl_prefixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_b Line | Count | Source | 6125 | 4.92k | { | 6126 | 4.92k | const bool need_skipped_width = | 6127 | 4.92k | specs.width != 0 || specs.precision != 0; | 6128 | 4.92k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6129 | | | 6130 | | // Read prefix | 6131 | 4.92k | if (specs.align == detail::align_type::right || | 6132 | 4.92k | specs.align == detail::align_type::center) { | 6133 | 710 | return skip_fill(rng, specs.precision, specs.fill, | 6134 | 710 | need_skipped_width); | 6135 | 710 | } | 6136 | 4.21k | if (specs.align == detail::align_type::none && rd_skip_ws_before_read) { | 6137 | | // Default alignment: | 6138 | | // Skip preceding whitespace, if required by the reader | 6139 | 2.79k | if (specs.precision != 0) { | 6140 | 0 | auto max_width_view = take_width(rng, specs.precision); | 6141 | 0 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view) | 6142 | 0 | .transform_error(make_eof_scan_error)); | 6143 | 0 | return result_type{w_it.base(), specs.precision - w_it.count()}; | 6144 | 0 | } | 6145 | 5.58k | SCN_TRY(it, skip_classic_whitespace(rng).transform_error( | 6146 | 5.58k | make_eof_scan_error)); | 6147 | | | 6148 | 5.58k | if (need_skipped_width) { | 6149 | 1.92k | return result_type{ | 6150 | 1.92k | it, | 6151 | 1.92k | calculate_text_width(make_contiguous_buffer( | 6152 | 1.92k | ranges::subrange{rng.begin(), it}) | 6153 | 1.92k | .view())}; | 6154 | 1.92k | } | 6155 | 866 | return result_type{it, 0}; | 6156 | 5.58k | } | 6157 | | | 6158 | 1.42k | return result_type{rng.begin(), 0}; | 6159 | 4.21k | } |
|
6160 | | |
6161 | | template <typename Range> |
6162 | | auto impl_postfix(Range rng, |
6163 | | bool rd_skip_ws_before_read, |
6164 | | std::ptrdiff_t prefix_width, |
6165 | | std::ptrdiff_t value_width) |
6166 | | -> scan_expected<skip_fill_result<ranges::iterator_t<Range>>> |
6167 | 7.11k | { |
6168 | 7.11k | const bool need_skipped_width = |
6169 | 7.11k | specs.width != 0 || specs.precision != 0; |
6170 | 7.11k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; |
6171 | | |
6172 | 7.11k | if (specs.align == detail::align_type::left || |
6173 | 7.11k | specs.align == detail::align_type::center) { |
6174 | 1.53k | if (specs.precision != 0 && |
6175 | 1.53k | specs.precision - value_width - prefix_width == 0) { |
6176 | 290 | return result_type{rng.begin(), 0}; |
6177 | 290 | } |
6178 | 1.24k | return skip_fill(rng, specs.precision - value_width - prefix_width, |
6179 | 1.24k | specs.fill, need_skipped_width); |
6180 | 1.53k | } |
6181 | 5.57k | if (specs.align == detail::align_type::none && |
6182 | 5.57k | !rd_skip_ws_before_read && |
6183 | 5.57k | ((specs.width != 0 && prefix_width + value_width < specs.width) || |
6184 | 4.71k | (specs.precision != 0 && |
6185 | 4.15k | prefix_width + value_width < specs.precision))) { |
6186 | 1.68k | if (specs.precision != 0) { |
6187 | 1.13k | const auto initial_width = |
6188 | 1.13k | specs.precision - prefix_width - value_width; |
6189 | 1.13k | auto max_width_view = take_width(rng, initial_width); |
6190 | 1.13k | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) |
6191 | 1.13k | .transform_error(make_eof_scan_error)); |
6192 | 1.13k | return result_type{w_it.base(), initial_width - w_it.count()}; |
6193 | 1.13k | } |
6194 | 1.11k | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( |
6195 | 1.11k | make_eof_scan_error)); |
6196 | | |
6197 | 1.11k | if (need_skipped_width) { |
6198 | 556 | return result_type{ |
6199 | 556 | it, |
6200 | 556 | calculate_text_width(make_contiguous_buffer( |
6201 | 556 | ranges::subrange{rng.begin(), it}) |
6202 | 556 | .view())}; |
6203 | 556 | } |
6204 | 0 | return result_type{it, 0}; |
6205 | 1.11k | } |
6206 | 3.89k | return result_type{rng.begin(), 0}; |
6207 | 5.57k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKcSE_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENS9_18default_sentinel_tEEEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESL_bll Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE12impl_postfixINS0_6ranges6detail9subrange_8subrangeIPKwSE_EEEENS0_13scan_expectedINSt3__14pairIDTclL_ZNS9_5beginEEclsr3stdE7declvalIRT_EEEElEEEESJ_bll _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE12impl_postfixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6167 | 4.45k | { | 6168 | 4.45k | const bool need_skipped_width = | 6169 | 4.45k | specs.width != 0 || specs.precision != 0; | 6170 | 4.45k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6171 | | | 6172 | 4.45k | if (specs.align == detail::align_type::left || | 6173 | 4.45k | specs.align == detail::align_type::center) { | 6174 | 828 | if (specs.precision != 0 && | 6175 | 828 | specs.precision - value_width - prefix_width == 0) { | 6176 | 154 | return result_type{rng.begin(), 0}; | 6177 | 154 | } | 6178 | 674 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6179 | 674 | specs.fill, need_skipped_width); | 6180 | 828 | } | 6181 | 3.63k | if (specs.align == detail::align_type::none && | 6182 | 3.63k | !rd_skip_ws_before_read && | 6183 | 3.63k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6184 | 3.15k | (specs.precision != 0 && | 6185 | 2.99k | prefix_width + value_width < specs.precision))) { | 6186 | 790 | if (specs.precision != 0) { | 6187 | 624 | const auto initial_width = | 6188 | 624 | specs.precision - prefix_width - value_width; | 6189 | 624 | auto max_width_view = take_width(rng, initial_width); | 6190 | 624 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6191 | 624 | .transform_error(make_eof_scan_error)); | 6192 | 624 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6193 | 624 | } | 6194 | 332 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6195 | 332 | make_eof_scan_error)); | 6196 | | | 6197 | 332 | if (need_skipped_width) { | 6198 | 166 | return result_type{ | 6199 | 166 | it, | 6200 | 166 | calculate_text_width(make_contiguous_buffer( | 6201 | 166 | ranges::subrange{rng.begin(), it}) | 6202 | 166 | .view())}; | 6203 | 166 | } | 6204 | 0 | return result_type{it, 0}; | 6205 | 332 | } | 6206 | 2.84k | return result_type{rng.begin(), 0}; | 6207 | 3.63k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE12impl_postfixISA_EENS0_13scan_expectedINSt3__14pairIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT_EEEElEEEESH_bll Line | Count | Source | 6167 | 2.65k | { | 6168 | 2.65k | const bool need_skipped_width = | 6169 | 2.65k | specs.width != 0 || specs.precision != 0; | 6170 | 2.65k | using result_type = skip_fill_result<ranges::iterator_t<Range>>; | 6171 | | | 6172 | 2.65k | if (specs.align == detail::align_type::left || | 6173 | 2.65k | specs.align == detail::align_type::center) { | 6174 | 710 | if (specs.precision != 0 && | 6175 | 710 | specs.precision - value_width - prefix_width == 0) { | 6176 | 136 | return result_type{rng.begin(), 0}; | 6177 | 136 | } | 6178 | 574 | return skip_fill(rng, specs.precision - value_width - prefix_width, | 6179 | 574 | specs.fill, need_skipped_width); | 6180 | 710 | } | 6181 | 1.94k | if (specs.align == detail::align_type::none && | 6182 | 1.94k | !rd_skip_ws_before_read && | 6183 | 1.94k | ((specs.width != 0 && prefix_width + value_width < specs.width) || | 6184 | 1.55k | (specs.precision != 0 && | 6185 | 1.16k | prefix_width + value_width < specs.precision))) { | 6186 | 896 | if (specs.precision != 0) { | 6187 | 506 | const auto initial_width = | 6188 | 506 | specs.precision - prefix_width - value_width; | 6189 | 506 | auto max_width_view = take_width(rng, initial_width); | 6190 | 506 | SCN_TRY(w_it, skip_classic_whitespace(max_width_view, true) | 6191 | 506 | .transform_error(make_eof_scan_error)); | 6192 | 506 | return result_type{w_it.base(), initial_width - w_it.count()}; | 6193 | 506 | } | 6194 | 780 | SCN_TRY(it, skip_classic_whitespace(rng, true).transform_error( | 6195 | 780 | make_eof_scan_error)); | 6196 | | | 6197 | 780 | if (need_skipped_width) { | 6198 | 390 | return result_type{ | 6199 | 390 | it, | 6200 | 390 | calculate_text_width(make_contiguous_buffer( | 6201 | 390 | ranges::subrange{rng.begin(), it}) | 6202 | 390 | .view())}; | 6203 | 390 | } | 6204 | 0 | return result_type{it, 0}; | 6205 | 780 | } | 6206 | 1.05k | return result_type{rng.begin(), 0}; | 6207 | 1.94k | } |
|
6208 | | |
6209 | | template <typename Reader, typename Range, typename T> |
6210 | | auto impl(Reader& rd, Range rng, T& value) |
6211 | | -> scan_expected<ranges::iterator_t<Range>> |
6212 | 21.1k | { |
6213 | 21.1k | const bool need_skipped_width = |
6214 | 21.1k | specs.width != 0 || specs.precision != 0; |
6215 | | |
6216 | | // Read prefix |
6217 | 21.1k | auto it = rng.begin(); |
6218 | 21.1k | std::ptrdiff_t prefix_width = 0; |
6219 | 21.1k | if (specs.precision != 0) { |
6220 | 8.95k | auto max_width_view = take_width(rng, specs.precision); |
6221 | 8.95k | SCN_TRY(prefix_result, |
6222 | 8.60k | impl_prefix(max_width_view, rd.skip_ws_before_read())); |
6223 | 8.60k | it = prefix_result.first.base(); |
6224 | 8.60k | prefix_width = prefix_result.second; |
6225 | 8.60k | } |
6226 | 12.2k | else { |
6227 | 12.2k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); |
6228 | 12.2k | std::tie(it, prefix_width) = prefix_result; |
6229 | 12.2k | } |
6230 | 20.8k | auto prefix_end_it = it; |
6231 | | |
6232 | | // Read value |
6233 | 20.8k | std::ptrdiff_t value_width = 0; |
6234 | 20.8k | if (specs.precision != 0) { |
6235 | 8.60k | if (specs.precision <= prefix_width) { |
6236 | 104 | return detail::unexpected_scan_error( |
6237 | 104 | scan_error::invalid_fill, |
6238 | 104 | "Too many fill characters before value, " |
6239 | 104 | "precision exceeded before reading value"); |
6240 | 104 | } |
6241 | | |
6242 | 8.49k | const auto initial_width = specs.precision - prefix_width; |
6243 | 8.49k | auto max_width_view = |
6244 | 8.49k | take_width(ranges::subrange{it, rng.end()}, initial_width); |
6245 | 8.49k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); |
6246 | 3.05k | it = w_it.base(); |
6247 | 3.05k | value_width = initial_width - w_it.count(); |
6248 | 3.05k | } |
6249 | 12.2k | else { |
6250 | 12.2k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, |
6251 | 6.25k | specs, value, loc)); |
6252 | | |
6253 | 6.25k | if (need_skipped_width) { |
6254 | 2.19k | value_width = calculate_text_width( |
6255 | 2.19k | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) |
6256 | 2.19k | .view()); |
6257 | 2.19k | } |
6258 | 6.25k | } |
6259 | | |
6260 | | // Read postfix |
6261 | 9.30k | std::ptrdiff_t postfix_width = 0; |
6262 | 9.30k | if (it != rng.end()) { |
6263 | 7.11k | SCN_TRY(postfix_result, |
6264 | 7.11k | impl_postfix(ranges::subrange{it, rng.end()}, |
6265 | 7.11k | rd.skip_ws_before_read(), prefix_width, |
6266 | 7.11k | value_width)); |
6267 | 7.11k | std::tie(it, postfix_width) = postfix_result; |
6268 | 7.11k | } |
6269 | | |
6270 | 9.30k | SCN_TRY_DISCARD(check_widths_for_arg_reader( |
6271 | 9.30k | specs, prefix_width, value_width, postfix_width)); |
6272 | 8.36k | return it; |
6273 | 9.30k | } Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_charIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_floatIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIcSE_NSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSB_12basic_stringIwNSD_IwEENSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_22reader_impl_for_stringIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENSC_IwNSD_IwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_29reader_impl_for_regex_matchesIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_wcharIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEaEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEaEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEsEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEsEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEElEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEElEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEExEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEExEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEhEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEhEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEtEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEtEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEjEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEjEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEmEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEmEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEyEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEyEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEfEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEfEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEdEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEdEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEeEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_21reader_impl_for_floatIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEeEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIcNSK_11char_traitsIcEENSK_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIcNSD_IcEENSB_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__112basic_stringIwNSK_11char_traitsIwEENSK_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SS_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSB_12basic_stringIwSE_NSB_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIcNSK_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENSC_IcNSD_IcEEEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENSt3__117basic_string_viewIwNSK_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SQ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_22reader_impl_for_stringIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEESF_EENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIcEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SN_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_29reader_impl_for_regex_matchesIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_19basic_regex_matchesIwEEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SK_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 718 | { | 6213 | 718 | const bool need_skipped_width = | 6214 | 718 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 718 | auto it = rng.begin(); | 6218 | 718 | std::ptrdiff_t prefix_width = 0; | 6219 | 718 | if (specs.precision != 0) { | 6220 | 420 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 420 | SCN_TRY(prefix_result, | 6222 | 388 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 388 | it = prefix_result.first.base(); | 6224 | 388 | prefix_width = prefix_result.second; | 6225 | 388 | } | 6226 | 298 | else { | 6227 | 298 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 298 | std::tie(it, prefix_width) = prefix_result; | 6229 | 298 | } | 6230 | 686 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 686 | std::ptrdiff_t value_width = 0; | 6234 | 686 | if (specs.precision != 0) { | 6235 | 388 | if (specs.precision <= prefix_width) { | 6236 | 6 | return detail::unexpected_scan_error( | 6237 | 6 | scan_error::invalid_fill, | 6238 | 6 | "Too many fill characters before value, " | 6239 | 6 | "precision exceeded before reading value"); | 6240 | 6 | } | 6241 | | | 6242 | 382 | const auto initial_width = specs.precision - prefix_width; | 6243 | 382 | auto max_width_view = | 6244 | 382 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 382 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 0 | it = w_it.base(); | 6247 | 0 | value_width = initial_width - w_it.count(); | 6248 | 0 | } | 6249 | 298 | else { | 6250 | 298 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 0 | specs, value, loc)); | 6252 | |
| 6253 | 0 | if (need_skipped_width) { | 6254 | 0 | value_width = calculate_text_width( | 6255 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 0 | .view()); | 6257 | 0 | } | 6258 | 0 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 0 | std::ptrdiff_t postfix_width = 0; | 6262 | 0 | if (it != rng.end()) { | 6263 | 0 | SCN_TRY(postfix_result, | 6264 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 0 | rd.skip_ws_before_read(), prefix_width, | 6266 | 0 | value_width)); | 6267 | 0 | std::tie(it, postfix_width) = postfix_result; | 6268 | 0 | } | 6269 | | | 6270 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 0 | specs, prefix_width, value_width, postfix_width)); | 6272 | 0 | return it; | 6273 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_nEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 718 | { | 6213 | 718 | const bool need_skipped_width = | 6214 | 718 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 718 | auto it = rng.begin(); | 6218 | 718 | std::ptrdiff_t prefix_width = 0; | 6219 | 718 | if (specs.precision != 0) { | 6220 | 420 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 420 | SCN_TRY(prefix_result, | 6222 | 388 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 388 | it = prefix_result.first.base(); | 6224 | 388 | prefix_width = prefix_result.second; | 6225 | 388 | } | 6226 | 298 | else { | 6227 | 298 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 298 | std::tie(it, prefix_width) = prefix_result; | 6229 | 298 | } | 6230 | 686 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 686 | std::ptrdiff_t value_width = 0; | 6234 | 686 | if (specs.precision != 0) { | 6235 | 388 | if (specs.precision <= prefix_width) { | 6236 | 6 | return detail::unexpected_scan_error( | 6237 | 6 | scan_error::invalid_fill, | 6238 | 6 | "Too many fill characters before value, " | 6239 | 6 | "precision exceeded before reading value"); | 6240 | 6 | } | 6241 | | | 6242 | 382 | const auto initial_width = specs.precision - prefix_width; | 6243 | 382 | auto max_width_view = | 6244 | 382 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 382 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 0 | it = w_it.base(); | 6247 | 0 | value_width = initial_width - w_it.count(); | 6248 | 0 | } | 6249 | 298 | else { | 6250 | 298 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 0 | specs, value, loc)); | 6252 | |
| 6253 | 0 | if (need_skipped_width) { | 6254 | 0 | value_width = calculate_text_width( | 6255 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 0 | .view()); | 6257 | 0 | } | 6258 | 0 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 0 | std::ptrdiff_t postfix_width = 0; | 6262 | 0 | if (it != rng.end()) { | 6263 | 0 | SCN_TRY(postfix_result, | 6264 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 0 | rd.skip_ws_before_read(), prefix_width, | 6266 | 0 | value_width)); | 6267 | 0 | std::tie(it, postfix_width) = postfix_result; | 6268 | 0 | } | 6269 | | | 6270 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 0 | specs, prefix_width, value_width, postfix_width)); | 6272 | 0 | return it; | 6273 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_19reader_impl_for_intIcEESA_oEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_23reader_impl_for_voidptrIcEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6212 | 640 | { | 6213 | 640 | const bool need_skipped_width = | 6214 | 640 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 640 | auto it = rng.begin(); | 6218 | 640 | std::ptrdiff_t prefix_width = 0; | 6219 | 640 | if (specs.precision != 0) { | 6220 | 372 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 372 | SCN_TRY(prefix_result, | 6222 | 348 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 348 | it = prefix_result.first.base(); | 6224 | 348 | prefix_width = prefix_result.second; | 6225 | 348 | } | 6226 | 268 | else { | 6227 | 268 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 268 | std::tie(it, prefix_width) = prefix_result; | 6229 | 268 | } | 6230 | 616 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 616 | std::ptrdiff_t value_width = 0; | 6234 | 616 | if (specs.precision != 0) { | 6235 | 348 | if (specs.precision <= prefix_width) { | 6236 | 4 | return detail::unexpected_scan_error( | 6237 | 4 | scan_error::invalid_fill, | 6238 | 4 | "Too many fill characters before value, " | 6239 | 4 | "precision exceeded before reading value"); | 6240 | 4 | } | 6241 | | | 6242 | 344 | const auto initial_width = specs.precision - prefix_width; | 6243 | 344 | auto max_width_view = | 6244 | 344 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 344 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 0 | it = w_it.base(); | 6247 | 0 | value_width = initial_width - w_it.count(); | 6248 | 0 | } | 6249 | 268 | else { | 6250 | 268 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 0 | specs, value, loc)); | 6252 | |
| 6253 | 0 | if (need_skipped_width) { | 6254 | 0 | value_width = calculate_text_width( | 6255 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 0 | .view()); | 6257 | 0 | } | 6258 | 0 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 0 | std::ptrdiff_t postfix_width = 0; | 6262 | 0 | if (it != rng.end()) { | 6263 | 0 | SCN_TRY(postfix_result, | 6264 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 0 | rd.skip_ws_before_read(), prefix_width, | 6266 | 0 | value_width)); | 6267 | 0 | std::tie(it, postfix_width) = postfix_result; | 6268 | 0 | } | 6269 | | | 6270 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 0 | specs, prefix_width, value_width, postfix_width)); | 6272 | 0 | return it; | 6273 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_boolIcEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 996 | { | 6213 | 996 | const bool need_skipped_width = | 6214 | 996 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 996 | auto it = rng.begin(); | 6218 | 996 | std::ptrdiff_t prefix_width = 0; | 6219 | 996 | if (specs.precision != 0) { | 6220 | 550 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 550 | SCN_TRY(prefix_result, | 6222 | 514 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 514 | it = prefix_result.first.base(); | 6224 | 514 | prefix_width = prefix_result.second; | 6225 | 514 | } | 6226 | 446 | else { | 6227 | 446 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 446 | std::tie(it, prefix_width) = prefix_result; | 6229 | 446 | } | 6230 | 960 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 960 | std::ptrdiff_t value_width = 0; | 6234 | 960 | if (specs.precision != 0) { | 6235 | 514 | if (specs.precision <= prefix_width) { | 6236 | 10 | return detail::unexpected_scan_error( | 6237 | 10 | scan_error::invalid_fill, | 6238 | 10 | "Too many fill characters before value, " | 6239 | 10 | "precision exceeded before reading value"); | 6240 | 10 | } | 6241 | | | 6242 | 504 | const auto initial_width = specs.precision - prefix_width; | 6243 | 504 | auto max_width_view = | 6244 | 504 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 504 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 0 | it = w_it.base(); | 6247 | 0 | value_width = initial_width - w_it.count(); | 6248 | 0 | } | 6249 | 446 | else { | 6250 | 446 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 0 | specs, value, loc)); | 6252 | |
| 6253 | 0 | if (need_skipped_width) { | 6254 | 0 | value_width = calculate_text_width( | 6255 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 0 | .view()); | 6257 | 0 | } | 6258 | 0 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 0 | std::ptrdiff_t postfix_width = 0; | 6262 | 0 | if (it != rng.end()) { | 6263 | 0 | SCN_TRY(postfix_result, | 6264 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 0 | rd.skip_ws_before_read(), prefix_width, | 6266 | 0 | value_width)); | 6267 | 0 | std::tie(it, postfix_width) = postfix_result; | 6268 | 0 | } | 6269 | | | 6270 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 0 | specs, prefix_width, value_width, postfix_width)); | 6272 | 0 | return it; | 6273 | 0 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_20reader_impl_for_charIcEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 694 | { | 6213 | 694 | const bool need_skipped_width = | 6214 | 694 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 694 | auto it = rng.begin(); | 6218 | 694 | std::ptrdiff_t prefix_width = 0; | 6219 | 694 | if (specs.precision != 0) { | 6220 | 408 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 408 | SCN_TRY(prefix_result, | 6222 | 408 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 408 | it = prefix_result.first.base(); | 6224 | 408 | prefix_width = prefix_result.second; | 6225 | 408 | } | 6226 | 286 | else { | 6227 | 286 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 286 | std::tie(it, prefix_width) = prefix_result; | 6229 | 286 | } | 6230 | 694 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 694 | std::ptrdiff_t value_width = 0; | 6234 | 694 | if (specs.precision != 0) { | 6235 | 408 | if (specs.precision <= prefix_width) { | 6236 | 6 | return detail::unexpected_scan_error( | 6237 | 6 | scan_error::invalid_fill, | 6238 | 6 | "Too many fill characters before value, " | 6239 | 6 | "precision exceeded before reading value"); | 6240 | 6 | } | 6241 | | | 6242 | 402 | const auto initial_width = specs.precision - prefix_width; | 6243 | 402 | auto max_width_view = | 6244 | 402 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 402 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 366 | it = w_it.base(); | 6247 | 366 | value_width = initial_width - w_it.count(); | 6248 | 366 | } | 6249 | 286 | else { | 6250 | 286 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 264 | specs, value, loc)); | 6252 | | | 6253 | 264 | if (need_skipped_width) { | 6254 | 198 | value_width = calculate_text_width( | 6255 | 198 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 198 | .view()); | 6257 | 198 | } | 6258 | 264 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 630 | std::ptrdiff_t postfix_width = 0; | 6262 | 630 | if (it != rng.end()) { | 6263 | 630 | SCN_TRY(postfix_result, | 6264 | 630 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 630 | rd.skip_ws_before_read(), prefix_width, | 6266 | 630 | value_width)); | 6267 | 630 | std::tie(it, postfix_width) = postfix_result; | 6268 | 630 | } | 6269 | | | 6270 | 630 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 630 | specs, prefix_width, value_width, postfix_width)); | 6272 | 456 | return it; | 6273 | 630 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_wcharIcEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_26reader_impl_for_code_pointIcEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 728 | { | 6213 | 728 | const bool need_skipped_width = | 6214 | 728 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 728 | auto it = rng.begin(); | 6218 | 728 | std::ptrdiff_t prefix_width = 0; | 6219 | 728 | if (specs.precision != 0) { | 6220 | 430 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 430 | SCN_TRY(prefix_result, | 6222 | 400 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 400 | it = prefix_result.first.base(); | 6224 | 400 | prefix_width = prefix_result.second; | 6225 | 400 | } | 6226 | 298 | else { | 6227 | 298 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 298 | std::tie(it, prefix_width) = prefix_result; | 6229 | 298 | } | 6230 | 698 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 698 | std::ptrdiff_t value_width = 0; | 6234 | 698 | if (specs.precision != 0) { | 6235 | 400 | if (specs.precision <= prefix_width) { | 6236 | 8 | return detail::unexpected_scan_error( | 6237 | 8 | scan_error::invalid_fill, | 6238 | 8 | "Too many fill characters before value, " | 6239 | 8 | "precision exceeded before reading value"); | 6240 | 8 | } | 6241 | | | 6242 | 392 | const auto initial_width = specs.precision - prefix_width; | 6243 | 392 | auto max_width_view = | 6244 | 392 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 392 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 0 | it = w_it.base(); | 6247 | 0 | value_width = initial_width - w_it.count(); | 6248 | 0 | } | 6249 | 298 | else { | 6250 | 298 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 0 | specs, value, loc)); | 6252 | |
| 6253 | 0 | if (need_skipped_width) { | 6254 | 0 | value_width = calculate_text_width( | 6255 | 0 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 0 | .view()); | 6257 | 0 | } | 6258 | 0 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 0 | std::ptrdiff_t postfix_width = 0; | 6262 | 0 | if (it != rng.end()) { | 6263 | 0 | SCN_TRY(postfix_result, | 6264 | 0 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 0 | rd.skip_ws_before_read(), prefix_width, | 6266 | 0 | value_width)); | 6267 | 0 | std::tie(it, postfix_width) = postfix_result; | 6268 | 0 | } | 6269 | | | 6270 | 0 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 0 | specs, prefix_width, value_width, postfix_width)); | 6272 | 0 | return it; | 6273 | 0 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_21reader_impl_for_floatIcEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_25reader_impl_for_monostateIcEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6212 | 2.91k | { | 6213 | 2.91k | const bool need_skipped_width = | 6214 | 2.91k | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 2.91k | auto it = rng.begin(); | 6218 | 2.91k | std::ptrdiff_t prefix_width = 0; | 6219 | 2.91k | if (specs.precision != 0) { | 6220 | 1.11k | auto max_width_view = take_width(rng, specs.precision); | 6221 | 1.11k | SCN_TRY(prefix_result, | 6222 | 1.09k | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 1.09k | it = prefix_result.first.base(); | 6224 | 1.09k | prefix_width = prefix_result.second; | 6225 | 1.09k | } | 6226 | 1.79k | else { | 6227 | 1.79k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 1.79k | std::tie(it, prefix_width) = prefix_result; | 6229 | 1.79k | } | 6230 | 2.88k | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 2.88k | std::ptrdiff_t value_width = 0; | 6234 | 2.88k | if (specs.precision != 0) { | 6235 | 1.09k | if (specs.precision <= prefix_width) { | 6236 | 10 | return detail::unexpected_scan_error( | 6237 | 10 | scan_error::invalid_fill, | 6238 | 10 | "Too many fill characters before value, " | 6239 | 10 | "precision exceeded before reading value"); | 6240 | 10 | } | 6241 | | | 6242 | 1.08k | const auto initial_width = specs.precision - prefix_width; | 6243 | 1.08k | auto max_width_view = | 6244 | 1.08k | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 1.08k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 490 | it = w_it.base(); | 6247 | 490 | value_width = initial_width - w_it.count(); | 6248 | 490 | } | 6249 | 1.79k | else { | 6250 | 1.79k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 1.15k | specs, value, loc)); | 6252 | | | 6253 | 1.15k | if (need_skipped_width) { | 6254 | 224 | value_width = calculate_text_width( | 6255 | 224 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 224 | .view()); | 6257 | 224 | } | 6258 | 1.15k | } | 6259 | | | 6260 | | // Read postfix | 6261 | 1.64k | std::ptrdiff_t postfix_width = 0; | 6262 | 1.64k | if (it != rng.end()) { | 6263 | 1.27k | SCN_TRY(postfix_result, | 6264 | 1.27k | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 1.27k | rd.skip_ws_before_read(), prefix_width, | 6266 | 1.27k | value_width)); | 6267 | 1.27k | std::tie(it, postfix_width) = postfix_result; | 6268 | 1.27k | } | 6269 | | | 6270 | 1.64k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 1.64k | specs, prefix_width, value_width, postfix_width)); | 6272 | 1.55k | return it; | 6273 | 1.64k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6212 | 2.91k | { | 6213 | 2.91k | const bool need_skipped_width = | 6214 | 2.91k | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 2.91k | auto it = rng.begin(); | 6218 | 2.91k | std::ptrdiff_t prefix_width = 0; | 6219 | 2.91k | if (specs.precision != 0) { | 6220 | 1.11k | auto max_width_view = take_width(rng, specs.precision); | 6221 | 1.11k | SCN_TRY(prefix_result, | 6222 | 1.09k | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 1.09k | it = prefix_result.first.base(); | 6224 | 1.09k | prefix_width = prefix_result.second; | 6225 | 1.09k | } | 6226 | 1.79k | else { | 6227 | 1.79k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 1.79k | std::tie(it, prefix_width) = prefix_result; | 6229 | 1.79k | } | 6230 | 2.88k | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 2.88k | std::ptrdiff_t value_width = 0; | 6234 | 2.88k | if (specs.precision != 0) { | 6235 | 1.09k | if (specs.precision <= prefix_width) { | 6236 | 10 | return detail::unexpected_scan_error( | 6237 | 10 | scan_error::invalid_fill, | 6238 | 10 | "Too many fill characters before value, " | 6239 | 10 | "precision exceeded before reading value"); | 6240 | 10 | } | 6241 | | | 6242 | 1.08k | const auto initial_width = specs.precision - prefix_width; | 6243 | 1.08k | auto max_width_view = | 6244 | 1.08k | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 1.08k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 490 | it = w_it.base(); | 6247 | 490 | value_width = initial_width - w_it.count(); | 6248 | 490 | } | 6249 | 1.79k | else { | 6250 | 1.79k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 1.15k | specs, value, loc)); | 6252 | | | 6253 | 1.15k | if (need_skipped_width) { | 6254 | 224 | value_width = calculate_text_width( | 6255 | 224 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 224 | .view()); | 6257 | 224 | } | 6258 | 1.15k | } | 6259 | | | 6260 | | // Read postfix | 6261 | 1.64k | std::ptrdiff_t postfix_width = 0; | 6262 | 1.64k | if (it != rng.end()) { | 6263 | 1.27k | SCN_TRY(postfix_result, | 6264 | 1.27k | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 1.27k | rd.skip_ws_before_read(), prefix_width, | 6266 | 1.27k | value_width)); | 6267 | 1.27k | std::tie(it, postfix_width) = postfix_result; | 6268 | 1.27k | } | 6269 | | | 6270 | 1.64k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 1.64k | specs, prefix_width, value_width, postfix_width)); | 6272 | 1.55k | return it; | 6273 | 1.64k | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKcS9_EEcEEE4implINS1_22reader_impl_for_stringIcEESA_NSt3__117basic_string_viewIcNSG_11char_traitsIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6212 | 2.91k | { | 6213 | 2.91k | const bool need_skipped_width = | 6214 | 2.91k | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 2.91k | auto it = rng.begin(); | 6218 | 2.91k | std::ptrdiff_t prefix_width = 0; | 6219 | 2.91k | if (specs.precision != 0) { | 6220 | 1.11k | auto max_width_view = take_width(rng, specs.precision); | 6221 | 1.11k | SCN_TRY(prefix_result, | 6222 | 1.09k | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 1.09k | it = prefix_result.first.base(); | 6224 | 1.09k | prefix_width = prefix_result.second; | 6225 | 1.09k | } | 6226 | 1.79k | else { | 6227 | 1.79k | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 1.79k | std::tie(it, prefix_width) = prefix_result; | 6229 | 1.79k | } | 6230 | 2.88k | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 2.88k | std::ptrdiff_t value_width = 0; | 6234 | 2.88k | if (specs.precision != 0) { | 6235 | 1.09k | if (specs.precision <= prefix_width) { | 6236 | 10 | return detail::unexpected_scan_error( | 6237 | 10 | scan_error::invalid_fill, | 6238 | 10 | "Too many fill characters before value, " | 6239 | 10 | "precision exceeded before reading value"); | 6240 | 10 | } | 6241 | | | 6242 | 1.08k | const auto initial_width = specs.precision - prefix_width; | 6243 | 1.08k | auto max_width_view = | 6244 | 1.08k | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 1.08k | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 490 | it = w_it.base(); | 6247 | 490 | value_width = initial_width - w_it.count(); | 6248 | 490 | } | 6249 | 1.79k | else { | 6250 | 1.79k | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 1.15k | specs, value, loc)); | 6252 | | | 6253 | 1.15k | if (need_skipped_width) { | 6254 | 224 | value_width = calculate_text_width( | 6255 | 224 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 224 | .view()); | 6257 | 224 | } | 6258 | 1.15k | } | 6259 | | | 6260 | | // Read postfix | 6261 | 1.64k | std::ptrdiff_t postfix_width = 0; | 6262 | 1.64k | if (it != rng.end()) { | 6263 | 1.27k | SCN_TRY(postfix_result, | 6264 | 1.27k | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 1.27k | rd.skip_ws_before_read(), prefix_width, | 6266 | 1.27k | value_width)); | 6267 | 1.27k | std::tie(it, postfix_width) = postfix_result; | 6268 | 1.27k | } | 6269 | | | 6270 | 1.64k | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 1.64k | specs, prefix_width, value_width, postfix_width)); | 6272 | 1.55k | return it; | 6273 | 1.64k | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEnEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_19reader_impl_for_intIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEoEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_23reader_impl_for_voidptrIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_20reader_impl_for_boolIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEwEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_21reader_impl_for_wcharIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEwEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_26reader_impl_for_code_pointIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIcE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEcEEE4implINS1_25reader_impl_for_monostateIcEENSt3__117basic_string_viewIcNSB_11char_traitsIcEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_aEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_sEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_iEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 752 | { | 6213 | 752 | const bool need_skipped_width = | 6214 | 752 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 752 | auto it = rng.begin(); | 6218 | 752 | std::ptrdiff_t prefix_width = 0; | 6219 | 752 | if (specs.precision != 0) { | 6220 | 278 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 278 | SCN_TRY(prefix_result, | 6222 | 258 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 258 | it = prefix_result.first.base(); | 6224 | 258 | prefix_width = prefix_result.second; | 6225 | 258 | } | 6226 | 474 | else { | 6227 | 474 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 474 | std::tie(it, prefix_width) = prefix_result; | 6229 | 474 | } | 6230 | 732 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 732 | std::ptrdiff_t value_width = 0; | 6234 | 732 | if (specs.precision != 0) { | 6235 | 258 | if (specs.precision <= prefix_width) { | 6236 | 2 | return detail::unexpected_scan_error( | 6237 | 2 | scan_error::invalid_fill, | 6238 | 2 | "Too many fill characters before value, " | 6239 | 2 | "precision exceeded before reading value"); | 6240 | 2 | } | 6241 | | | 6242 | 256 | const auto initial_width = specs.precision - prefix_width; | 6243 | 256 | auto max_width_view = | 6244 | 256 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 256 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 22 | it = w_it.base(); | 6247 | 22 | value_width = initial_width - w_it.count(); | 6248 | 22 | } | 6249 | 474 | else { | 6250 | 474 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 40 | specs, value, loc)); | 6252 | | | 6253 | 40 | if (need_skipped_width) { | 6254 | 8 | value_width = calculate_text_width( | 6255 | 8 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 8 | .view()); | 6257 | 8 | } | 6258 | 40 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 62 | std::ptrdiff_t postfix_width = 0; | 6262 | 62 | if (it != rng.end()) { | 6263 | 62 | SCN_TRY(postfix_result, | 6264 | 62 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 62 | rd.skip_ws_before_read(), prefix_width, | 6266 | 62 | value_width)); | 6267 | 62 | std::tie(it, postfix_width) = postfix_result; | 6268 | 62 | } | 6269 | | | 6270 | 62 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 62 | specs, prefix_width, value_width, postfix_width)); | 6272 | 58 | return it; | 6273 | 62 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_lEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_xEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_nEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_hEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_tEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_jEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 752 | { | 6213 | 752 | const bool need_skipped_width = | 6214 | 752 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 752 | auto it = rng.begin(); | 6218 | 752 | std::ptrdiff_t prefix_width = 0; | 6219 | 752 | if (specs.precision != 0) { | 6220 | 278 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 278 | SCN_TRY(prefix_result, | 6222 | 258 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 258 | it = prefix_result.first.base(); | 6224 | 258 | prefix_width = prefix_result.second; | 6225 | 258 | } | 6226 | 474 | else { | 6227 | 474 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 474 | std::tie(it, prefix_width) = prefix_result; | 6229 | 474 | } | 6230 | 732 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 732 | std::ptrdiff_t value_width = 0; | 6234 | 732 | if (specs.precision != 0) { | 6235 | 258 | if (specs.precision <= prefix_width) { | 6236 | 2 | return detail::unexpected_scan_error( | 6237 | 2 | scan_error::invalid_fill, | 6238 | 2 | "Too many fill characters before value, " | 6239 | 2 | "precision exceeded before reading value"); | 6240 | 2 | } | 6241 | | | 6242 | 256 | const auto initial_width = specs.precision - prefix_width; | 6243 | 256 | auto max_width_view = | 6244 | 256 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 256 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 22 | it = w_it.base(); | 6247 | 22 | value_width = initial_width - w_it.count(); | 6248 | 22 | } | 6249 | 474 | else { | 6250 | 474 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 40 | specs, value, loc)); | 6252 | | | 6253 | 40 | if (need_skipped_width) { | 6254 | 8 | value_width = calculate_text_width( | 6255 | 8 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 8 | .view()); | 6257 | 8 | } | 6258 | 40 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 62 | std::ptrdiff_t postfix_width = 0; | 6262 | 62 | if (it != rng.end()) { | 6263 | 62 | SCN_TRY(postfix_result, | 6264 | 62 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 62 | rd.skip_ws_before_read(), prefix_width, | 6266 | 62 | value_width)); | 6267 | 62 | std::tie(it, postfix_width) = postfix_result; | 6268 | 62 | } | 6269 | | | 6270 | 62 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 62 | specs, prefix_width, value_width, postfix_width)); | 6272 | 58 | return it; | 6273 | 62 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_mEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_yEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_19reader_impl_for_intIwEESA_oEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_23reader_impl_for_voidptrIwEESA_PvEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Line | Count | Source | 6212 | 610 | { | 6213 | 610 | const bool need_skipped_width = | 6214 | 610 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 610 | auto it = rng.begin(); | 6218 | 610 | std::ptrdiff_t prefix_width = 0; | 6219 | 610 | if (specs.precision != 0) { | 6220 | 212 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 212 | SCN_TRY(prefix_result, | 6222 | 204 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 204 | it = prefix_result.first.base(); | 6224 | 204 | prefix_width = prefix_result.second; | 6225 | 204 | } | 6226 | 398 | else { | 6227 | 398 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 398 | std::tie(it, prefix_width) = prefix_result; | 6229 | 398 | } | 6230 | 602 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 602 | std::ptrdiff_t value_width = 0; | 6234 | 602 | if (specs.precision != 0) { | 6235 | 204 | if (specs.precision <= prefix_width) { | 6236 | 2 | return detail::unexpected_scan_error( | 6237 | 2 | scan_error::invalid_fill, | 6238 | 2 | "Too many fill characters before value, " | 6239 | 2 | "precision exceeded before reading value"); | 6240 | 2 | } | 6241 | | | 6242 | 202 | const auto initial_width = specs.precision - prefix_width; | 6243 | 202 | auto max_width_view = | 6244 | 202 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 202 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 10 | it = w_it.base(); | 6247 | 10 | value_width = initial_width - w_it.count(); | 6248 | 10 | } | 6249 | 398 | else { | 6250 | 398 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 24 | specs, value, loc)); | 6252 | | | 6253 | 24 | if (need_skipped_width) { | 6254 | 8 | value_width = calculate_text_width( | 6255 | 8 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 8 | .view()); | 6257 | 8 | } | 6258 | 24 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 34 | std::ptrdiff_t postfix_width = 0; | 6262 | 34 | if (it != rng.end()) { | 6263 | 34 | SCN_TRY(postfix_result, | 6264 | 34 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 34 | rd.skip_ws_before_read(), prefix_width, | 6266 | 34 | value_width)); | 6267 | 34 | std::tie(it, postfix_width) = postfix_result; | 6268 | 34 | } | 6269 | | | 6270 | 34 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 34 | specs, prefix_width, value_width, postfix_width)); | 6272 | 30 | return it; | 6273 | 34 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_boolIwEESA_bEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 858 | { | 6213 | 858 | const bool need_skipped_width = | 6214 | 858 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 858 | auto it = rng.begin(); | 6218 | 858 | std::ptrdiff_t prefix_width = 0; | 6219 | 858 | if (specs.precision != 0) { | 6220 | 322 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 322 | SCN_TRY(prefix_result, | 6222 | 300 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 300 | it = prefix_result.first.base(); | 6224 | 300 | prefix_width = prefix_result.second; | 6225 | 300 | } | 6226 | 536 | else { | 6227 | 536 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 536 | std::tie(it, prefix_width) = prefix_result; | 6229 | 536 | } | 6230 | 836 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 836 | std::ptrdiff_t value_width = 0; | 6234 | 836 | if (specs.precision != 0) { | 6235 | 300 | if (specs.precision <= prefix_width) { | 6236 | 4 | return detail::unexpected_scan_error( | 6237 | 4 | scan_error::invalid_fill, | 6238 | 4 | "Too many fill characters before value, " | 6239 | 4 | "precision exceeded before reading value"); | 6240 | 4 | } | 6241 | | | 6242 | 296 | const auto initial_width = specs.precision - prefix_width; | 6243 | 296 | auto max_width_view = | 6244 | 296 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 296 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 22 | it = w_it.base(); | 6247 | 22 | value_width = initial_width - w_it.count(); | 6248 | 22 | } | 6249 | 536 | else { | 6250 | 536 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 40 | specs, value, loc)); | 6252 | | | 6253 | 40 | if (need_skipped_width) { | 6254 | 8 | value_width = calculate_text_width( | 6255 | 8 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 8 | .view()); | 6257 | 8 | } | 6258 | 40 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 62 | std::ptrdiff_t postfix_width = 0; | 6262 | 62 | if (it != rng.end()) { | 6263 | 62 | SCN_TRY(postfix_result, | 6264 | 62 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 62 | rd.skip_ws_before_read(), prefix_width, | 6266 | 62 | value_width)); | 6267 | 62 | std::tie(it, postfix_width) = postfix_result; | 6268 | 62 | } | 6269 | | | 6270 | 62 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 62 | specs, prefix_width, value_width, postfix_width)); | 6272 | 58 | return it; | 6273 | 62 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_20reader_impl_for_charIwEESA_cEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_wcharIwEESA_wEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 696 | { | 6213 | 696 | const bool need_skipped_width = | 6214 | 696 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 696 | auto it = rng.begin(); | 6218 | 696 | std::ptrdiff_t prefix_width = 0; | 6219 | 696 | if (specs.precision != 0) { | 6220 | 250 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 250 | SCN_TRY(prefix_result, | 6222 | 250 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 250 | it = prefix_result.first.base(); | 6224 | 250 | prefix_width = prefix_result.second; | 6225 | 250 | } | 6226 | 446 | else { | 6227 | 446 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 446 | std::tie(it, prefix_width) = prefix_result; | 6229 | 446 | } | 6230 | 696 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 696 | std::ptrdiff_t value_width = 0; | 6234 | 696 | if (specs.precision != 0) { | 6235 | 250 | if (specs.precision <= prefix_width) { | 6236 | 2 | return detail::unexpected_scan_error( | 6237 | 2 | scan_error::invalid_fill, | 6238 | 2 | "Too many fill characters before value, " | 6239 | 2 | "precision exceeded before reading value"); | 6240 | 2 | } | 6241 | | | 6242 | 248 | const auto initial_width = specs.precision - prefix_width; | 6243 | 248 | auto max_width_view = | 6244 | 248 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 248 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 214 | it = w_it.base(); | 6247 | 214 | value_width = initial_width - w_it.count(); | 6248 | 214 | } | 6249 | 446 | else { | 6250 | 446 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 406 | specs, value, loc)); | 6252 | | | 6253 | 406 | if (need_skipped_width) { | 6254 | 248 | value_width = calculate_text_width( | 6255 | 248 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 248 | .view()); | 6257 | 248 | } | 6258 | 406 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 620 | std::ptrdiff_t postfix_width = 0; | 6262 | 620 | if (it != rng.end()) { | 6263 | 620 | SCN_TRY(postfix_result, | 6264 | 620 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 620 | rd.skip_ws_before_read(), prefix_width, | 6266 | 620 | value_width)); | 6267 | 620 | std::tie(it, postfix_width) = postfix_result; | 6268 | 620 | } | 6269 | | | 6270 | 620 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 620 | specs, prefix_width, value_width, postfix_width)); | 6272 | 382 | return it; | 6273 | 620 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_26reader_impl_for_code_pointIwEESA_DiEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_fEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_dEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Line | Count | Source | 6212 | 770 | { | 6213 | 770 | const bool need_skipped_width = | 6214 | 770 | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 770 | auto it = rng.begin(); | 6218 | 770 | std::ptrdiff_t prefix_width = 0; | 6219 | 770 | if (specs.precision != 0) { | 6220 | 264 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 264 | SCN_TRY(prefix_result, | 6222 | 248 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 248 | it = prefix_result.first.base(); | 6224 | 248 | prefix_width = prefix_result.second; | 6225 | 248 | } | 6226 | 506 | else { | 6227 | 506 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 506 | std::tie(it, prefix_width) = prefix_result; | 6229 | 506 | } | 6230 | 754 | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 754 | std::ptrdiff_t value_width = 0; | 6234 | 754 | if (specs.precision != 0) { | 6235 | 248 | if (specs.precision <= prefix_width) { | 6236 | 4 | return detail::unexpected_scan_error( | 6237 | 4 | scan_error::invalid_fill, | 6238 | 4 | "Too many fill characters before value, " | 6239 | 4 | "precision exceeded before reading value"); | 6240 | 4 | } | 6241 | | | 6242 | 244 | const auto initial_width = specs.precision - prefix_width; | 6243 | 244 | auto max_width_view = | 6244 | 244 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 244 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 20 | it = w_it.base(); | 6247 | 20 | value_width = initial_width - w_it.count(); | 6248 | 20 | } | 6249 | 506 | else { | 6250 | 506 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 80 | specs, value, loc)); | 6252 | | | 6253 | 80 | if (need_skipped_width) { | 6254 | 8 | value_width = calculate_text_width( | 6255 | 8 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 8 | .view()); | 6257 | 8 | } | 6258 | 80 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 100 | std::ptrdiff_t postfix_width = 0; | 6262 | 100 | if (it != rng.end()) { | 6263 | 100 | SCN_TRY(postfix_result, | 6264 | 100 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 100 | rd.skip_ws_before_read(), prefix_width, | 6266 | 100 | value_width)); | 6267 | 100 | std::tie(it, postfix_width) = postfix_result; | 6268 | 100 | } | 6269 | | | 6270 | 100 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 100 | specs, prefix_width, value_width, postfix_width)); | 6272 | 96 | return it; | 6273 | 100 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_21reader_impl_for_floatIwEESA_eEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SH_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_25reader_impl_for_monostateIwEESA_NS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIcNSG_11char_traitsIcEENSG_9allocatorIcEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6212 | 1.16k | { | 6213 | 1.16k | const bool need_skipped_width = | 6214 | 1.16k | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 1.16k | auto it = rng.begin(); | 6218 | 1.16k | std::ptrdiff_t prefix_width = 0; | 6219 | 1.16k | if (specs.precision != 0) { | 6220 | 466 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 466 | SCN_TRY(prefix_result, | 6222 | 456 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 456 | it = prefix_result.first.base(); | 6224 | 456 | prefix_width = prefix_result.second; | 6225 | 456 | } | 6226 | 698 | else { | 6227 | 698 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 698 | std::tie(it, prefix_width) = prefix_result; | 6229 | 698 | } | 6230 | 1.15k | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 1.15k | std::ptrdiff_t value_width = 0; | 6234 | 1.15k | if (specs.precision != 0) { | 6235 | 456 | if (specs.precision <= prefix_width) { | 6236 | 6 | return detail::unexpected_scan_error( | 6237 | 6 | scan_error::invalid_fill, | 6238 | 6 | "Too many fill characters before value, " | 6239 | 6 | "precision exceeded before reading value"); | 6240 | 6 | } | 6241 | | | 6242 | 450 | const auto initial_width = specs.precision - prefix_width; | 6243 | 450 | auto max_width_view = | 6244 | 450 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 450 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 302 | it = w_it.base(); | 6247 | 302 | value_width = initial_width - w_it.count(); | 6248 | 302 | } | 6249 | 698 | else { | 6250 | 698 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 632 | specs, value, loc)); | 6252 | | | 6253 | 632 | if (need_skipped_width) { | 6254 | 346 | value_width = calculate_text_width( | 6255 | 346 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 346 | .view()); | 6257 | 346 | } | 6258 | 632 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 934 | std::ptrdiff_t postfix_width = 0; | 6262 | 934 | if (it != rng.end()) { | 6263 | 572 | SCN_TRY(postfix_result, | 6264 | 572 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 572 | rd.skip_ws_before_read(), prefix_width, | 6266 | 572 | value_width)); | 6267 | 572 | std::tie(it, postfix_width) = postfix_result; | 6268 | 572 | } | 6269 | | | 6270 | 934 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 934 | specs, prefix_width, value_width, postfix_width)); | 6272 | 854 | return it; | 6273 | 934 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__112basic_stringIwNSG_11char_traitsIwEENSG_9allocatorIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SO_RT1_ Line | Count | Source | 6212 | 1.16k | { | 6213 | 1.16k | const bool need_skipped_width = | 6214 | 1.16k | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 1.16k | auto it = rng.begin(); | 6218 | 1.16k | std::ptrdiff_t prefix_width = 0; | 6219 | 1.16k | if (specs.precision != 0) { | 6220 | 466 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 466 | SCN_TRY(prefix_result, | 6222 | 456 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 456 | it = prefix_result.first.base(); | 6224 | 456 | prefix_width = prefix_result.second; | 6225 | 456 | } | 6226 | 698 | else { | 6227 | 698 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 698 | std::tie(it, prefix_width) = prefix_result; | 6229 | 698 | } | 6230 | 1.15k | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 1.15k | std::ptrdiff_t value_width = 0; | 6234 | 1.15k | if (specs.precision != 0) { | 6235 | 456 | if (specs.precision <= prefix_width) { | 6236 | 6 | return detail::unexpected_scan_error( | 6237 | 6 | scan_error::invalid_fill, | 6238 | 6 | "Too many fill characters before value, " | 6239 | 6 | "precision exceeded before reading value"); | 6240 | 6 | } | 6241 | | | 6242 | 450 | const auto initial_width = specs.precision - prefix_width; | 6243 | 450 | auto max_width_view = | 6244 | 450 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 450 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 302 | it = w_it.base(); | 6247 | 302 | value_width = initial_width - w_it.count(); | 6248 | 302 | } | 6249 | 698 | else { | 6250 | 698 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 632 | specs, value, loc)); | 6252 | | | 6253 | 632 | if (need_skipped_width) { | 6254 | 346 | value_width = calculate_text_width( | 6255 | 346 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 346 | .view()); | 6257 | 346 | } | 6258 | 632 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 934 | std::ptrdiff_t postfix_width = 0; | 6262 | 934 | if (it != rng.end()) { | 6263 | 572 | SCN_TRY(postfix_result, | 6264 | 572 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 572 | rd.skip_ws_before_read(), prefix_width, | 6266 | 572 | value_width)); | 6267 | 572 | std::tie(it, postfix_width) = postfix_result; | 6268 | 572 | } | 6269 | | | 6270 | 934 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 934 | specs, prefix_width, value_width, postfix_width)); | 6272 | 854 | return it; | 6273 | 934 | } |
_ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6ranges6detail9subrange_8subrangeIPKwS9_EEwEEE4implINS1_22reader_impl_for_stringIwEESA_NSt3__117basic_string_viewIwNSG_11char_traitsIwEEEEEENS0_13scan_expectedIDTclL_ZNS4_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Line | Count | Source | 6212 | 1.16k | { | 6213 | 1.16k | const bool need_skipped_width = | 6214 | 1.16k | specs.width != 0 || specs.precision != 0; | 6215 | | | 6216 | | // Read prefix | 6217 | 1.16k | auto it = rng.begin(); | 6218 | 1.16k | std::ptrdiff_t prefix_width = 0; | 6219 | 1.16k | if (specs.precision != 0) { | 6220 | 466 | auto max_width_view = take_width(rng, specs.precision); | 6221 | 466 | SCN_TRY(prefix_result, | 6222 | 456 | impl_prefix(max_width_view, rd.skip_ws_before_read())); | 6223 | 456 | it = prefix_result.first.base(); | 6224 | 456 | prefix_width = prefix_result.second; | 6225 | 456 | } | 6226 | 698 | else { | 6227 | 698 | SCN_TRY(prefix_result, impl_prefix(rng, rd.skip_ws_before_read())); | 6228 | 698 | std::tie(it, prefix_width) = prefix_result; | 6229 | 698 | } | 6230 | 1.15k | auto prefix_end_it = it; | 6231 | | | 6232 | | // Read value | 6233 | 1.15k | std::ptrdiff_t value_width = 0; | 6234 | 1.15k | if (specs.precision != 0) { | 6235 | 456 | if (specs.precision <= prefix_width) { | 6236 | 6 | return detail::unexpected_scan_error( | 6237 | 6 | scan_error::invalid_fill, | 6238 | 6 | "Too many fill characters before value, " | 6239 | 6 | "precision exceeded before reading value"); | 6240 | 6 | } | 6241 | | | 6242 | 450 | const auto initial_width = specs.precision - prefix_width; | 6243 | 450 | auto max_width_view = | 6244 | 450 | take_width(ranges::subrange{it, rng.end()}, initial_width); | 6245 | 450 | SCN_TRY(w_it, rd.read_specs(max_width_view, specs, value, loc)); | 6246 | 302 | it = w_it.base(); | 6247 | 302 | value_width = initial_width - w_it.count(); | 6248 | 302 | } | 6249 | 698 | else { | 6250 | 698 | SCN_TRY_ASSIGN(it, rd.read_specs(ranges::subrange{it, rng.end()}, | 6251 | 632 | specs, value, loc)); | 6252 | | | 6253 | 632 | if (need_skipped_width) { | 6254 | 346 | value_width = calculate_text_width( | 6255 | 346 | make_contiguous_buffer(ranges::subrange{prefix_end_it, it}) | 6256 | 346 | .view()); | 6257 | 346 | } | 6258 | 632 | } | 6259 | | | 6260 | | // Read postfix | 6261 | 934 | std::ptrdiff_t postfix_width = 0; | 6262 | 934 | if (it != rng.end()) { | 6263 | 572 | SCN_TRY(postfix_result, | 6264 | 572 | impl_postfix(ranges::subrange{it, rng.end()}, | 6265 | 572 | rd.skip_ws_before_read(), prefix_width, | 6266 | 572 | value_width)); | 6267 | 572 | std::tie(it, postfix_width) = postfix_result; | 6268 | 572 | } | 6269 | | | 6270 | 934 | SCN_TRY_DISCARD(check_widths_for_arg_reader( | 6271 | 934 | specs, prefix_width, value_width, postfix_width)); | 6272 | 854 | return it; | 6273 | 934 | } |
Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEnEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEnEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEoEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_19reader_impl_for_intIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEoEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEPvEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_23reader_impl_for_voidptrIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEPvEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEbEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_boolIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEbEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEcEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_20reader_impl_for_charIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEcEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEEDiEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SL_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_26reader_impl_for_code_pointIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEEDiEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SI_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENS0_6ranges6detail9subrange_8subrangeINS4_17basic_scan_bufferIwE16forward_iteratorENSB_18default_sentinel_tEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SM_RT1_ Unexecuted instantiation: _ZN3scn2v44impl10arg_readerINS0_18basic_scan_contextINS0_6detail16buffer_range_tagEwEEE4implINS1_25reader_impl_for_monostateIwEENSt3__117basic_string_viewIwNSB_11char_traitsIwEEEENS0_9monostateEEENS0_13scan_expectedIDTclL_ZNS0_6ranges5beginEEclsr3stdE7declvalIRT0_EEEEEERT_SJ_RT1_ |
6274 | | |
6275 | | template <typename T> |
6276 | | scan_expected<iterator> operator()(T& value) |
6277 | 40.6k | { |
6278 | | if constexpr (!detail::is_type_disabled<T> && |
6279 | | std::is_same_v< |
6280 | | context_type, |
6281 | 40.6k | basic_contiguous_scan_context<char_type>>) { |
6282 | 40.6k | auto rd = make_reader<T, char_type>(); |
6283 | 40.6k | SCN_TRY_DISCARD(rd.check_specs(specs)); |
6284 | 21.1k | return impl(rd, range, value); |
6285 | | } |
6286 | 0 | else if constexpr (!detail::is_type_disabled<T>) { |
6287 | 0 | auto rd = make_reader<T, char_type>(); |
6288 | 0 | SCN_TRY_DISCARD(rd.check_specs(specs)); |
6289 | |
|
6290 | 0 | if (!is_segment_contiguous(range) || specs.precision != 0 || |
6291 | 0 | specs.width != 0) { |
6292 | 0 | return impl(rd, range, value); |
6293 | 0 | } |
6294 | | |
6295 | 0 | auto crange = get_as_contiguous(range); |
6296 | 0 | SCN_TRY(it, impl(rd, crange, value)); |
6297 | 0 | return ranges::next(range.begin(), |
6298 | 0 | ranges::distance(crange.begin(), it)); |
6299 | | } |
6300 | | else { |
6301 | | SCN_EXPECT(false); |
6302 | | SCN_UNREACHABLE; |
6303 | | } |
6304 | 40.6k | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<char> >(scn::v4::basic_regex_matches<char>&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::basic_regex_matches<wchar_t> >(scn::v4::basic_regex_matches<wchar_t>&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<short>(short&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<int>(int&) Line | Count | Source | 6277 | 3.10k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.10k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.10k | auto rd = make_reader<T, char_type>(); | 6283 | 3.10k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 718 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.10k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6277 | 3.10k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.10k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.10k | auto rd = make_reader<T, char_type>(); | 6283 | 3.10k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 718 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.10k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<unsigned __int128>(unsigned __int128&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<void*>(void*&) Line | Count | Source | 6277 | 3.05k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.05k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.05k | auto rd = make_reader<T, char_type>(); | 6283 | 3.05k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 640 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.05k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<bool>(bool&) Line | Count | Source | 6277 | 3.10k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.10k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.10k | auto rd = make_reader<T, char_type>(); | 6283 | 3.10k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 996 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.10k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char>(char&) Line | Count | Source | 6277 | 3.05k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.05k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.05k | auto rd = make_reader<T, char_type>(); | 6283 | 3.05k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 694 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.05k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<float>(float&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<double>(double&) Line | Count | Source | 6277 | 3.10k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.10k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.10k | auto rd = make_reader<T, char_type>(); | 6283 | 3.10k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 728 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.10k | } |
Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6277 | 3.05k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.05k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.05k | auto rd = make_reader<T, char_type>(); | 6283 | 3.05k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 2.91k | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.05k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6277 | 3.05k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.05k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.05k | auto rd = make_reader<T, char_type>(); | 6283 | 3.05k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 2.91k | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.05k | } |
scn::v4::scan_expected<char const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) Line | Count | Source | 6277 | 3.05k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 3.05k | basic_contiguous_scan_context<char_type>>) { | 6282 | 3.05k | auto rd = make_reader<T, char_type>(); | 6283 | 3.05k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 2.91k | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 3.05k | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned __int128>(unsigned __int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<signed char>(signed char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<short>(short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<int>(int&) Line | Count | Source | 6277 | 1.47k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.47k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.47k | auto rd = make_reader<T, char_type>(); | 6283 | 1.47k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 752 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.47k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long>(long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long long>(long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned char>(unsigned char&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned short>(unsigned short&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned int>(unsigned int&) Line | Count | Source | 6277 | 1.47k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.47k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.47k | auto rd = make_reader<T, char_type>(); | 6283 | 1.47k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 752 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.47k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long>(unsigned long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned long long>(unsigned long long&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<unsigned __int128>(unsigned __int128&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<void*>(void*&) Line | Count | Source | 6277 | 1.40k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.40k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.40k | auto rd = make_reader<T, char_type>(); | 6283 | 1.40k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 610 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.40k | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<bool>(bool&) Line | Count | Source | 6277 | 1.47k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.47k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.47k | auto rd = make_reader<T, char_type>(); | 6283 | 1.47k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 858 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.47k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char>(char&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<wchar_t>(wchar_t&) Line | Count | Source | 6277 | 1.40k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.40k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.40k | auto rd = make_reader<T, char_type>(); | 6283 | 1.40k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 696 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.40k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<float>(float&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<double>(double&) Line | Count | Source | 6277 | 1.47k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.47k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.47k | auto rd = make_reader<T, char_type>(); | 6283 | 1.47k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 770 | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.47k | } |
Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<long double>(long double&) Unexecuted instantiation: scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) Line | Count | Source | 6277 | 1.40k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.40k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.40k | auto rd = make_reader<T, char_type>(); | 6283 | 1.40k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 1.16k | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.40k | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) Line | Count | Source | 6277 | 1.40k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.40k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.40k | auto rd = make_reader<T, char_type>(); | 6283 | 1.40k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 1.16k | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.40k | } |
scn::v4::scan_expected<wchar_t const*> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) Line | Count | Source | 6277 | 1.40k | { | 6278 | | if constexpr (!detail::is_type_disabled<T> && | 6279 | | std::is_same_v< | 6280 | | context_type, | 6281 | 1.40k | basic_contiguous_scan_context<char_type>>) { | 6282 | 1.40k | auto rd = make_reader<T, char_type>(); | 6283 | 1.40k | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6284 | 1.16k | return impl(rd, range, value); | 6285 | | } | 6286 | | else if constexpr (!detail::is_type_disabled<T>) { | 6287 | | auto rd = make_reader<T, char_type>(); | 6288 | | SCN_TRY_DISCARD(rd.check_specs(specs)); | 6289 | | | 6290 | | if (!is_segment_contiguous(range) || specs.precision != 0 || | 6291 | | specs.width != 0) { | 6292 | | return impl(rd, range, value); | 6293 | | } | 6294 | | | 6295 | | auto crange = get_as_contiguous(range); | 6296 | | SCN_TRY(it, impl(rd, crange, value)); | 6297 | | return ranges::next(range.begin(), | 6298 | | ranges::distance(crange.begin(), it)); | 6299 | | } | 6300 | | else { | 6301 | | SCN_EXPECT(false); | 6302 | | SCN_UNREACHABLE; | 6303 | | } | 6304 | 1.40k | } |
Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<__int128>(__int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned __int128>(unsigned __int128&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) |
6305 | | |
6306 | | scan_expected<iterator> operator()( |
6307 | | typename basic_scan_arg<detail::default_context<char_type>>::handle) |
6308 | | const |
6309 | 0 | { |
6310 | 0 | SCN_EXPECT(false); |
6311 | 0 | SCN_UNREACHABLE; |
6312 | 0 | } Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<char const*, char const*>, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::ranges::detail::subrange_::subrange<wchar_t const*, wchar_t const*>, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const Unexecuted instantiation: scn::v4::impl::arg_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const |
6313 | | |
6314 | | range_type range; |
6315 | | const detail::format_specs& specs; |
6316 | | detail::locale_ref loc; |
6317 | | }; |
6318 | | |
6319 | | template <typename Context> |
6320 | | struct custom_reader { |
6321 | | using context_type = Context; |
6322 | | using char_type = typename context_type::char_type; |
6323 | | using parse_context_type = typename context_type::parse_context_type; |
6324 | | using iterator = typename context_type::iterator; |
6325 | | |
6326 | | template <typename T> |
6327 | | scan_expected<iterator> operator()(T&) const |
6328 | 0 | { |
6329 | 0 | SCN_EXPECT(false); |
6330 | 0 | SCN_UNREACHABLE; |
6331 | 0 | } Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<short>(short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<int>(int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long>(long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<__int128>(__int128&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<unsigned __int128>(unsigned __int128&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char>(char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<float>(float&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<double>(double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<scn::v4::monostate>(scn::v4::monostate&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<char>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()<std::__1::basic_string_view<char, std::__1::char_traits<char> > >(std::__1::basic_string_view<char, std::__1::char_traits<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<signed char>(signed char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<short>(short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<int>(int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long>(long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long long>(long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<__int128>(__int128&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned char>(unsigned char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned short>(unsigned short&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned int>(unsigned int&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long>(unsigned long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned long long>(unsigned long long&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<unsigned __int128>(unsigned __int128&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<void*>(void*&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<bool>(bool&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char>(char&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<wchar_t>(wchar_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<char32_t>(char32_t&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<float>(float&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<double>(double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<long double>(long double&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<scn::v4::monostate>(scn::v4::monostate&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > >(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >&) const Unexecuted instantiation: scn::v4::scan_expected<scn::v4::detail::basic_scan_buffer<wchar_t>::forward_iterator> scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()<std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> > >(std::__1::basic_string_view<wchar_t, std::__1::char_traits<wchar_t> >&) const |
6332 | | |
6333 | | scan_expected<iterator> operator()( |
6334 | | typename basic_scan_arg<detail::default_context<char_type>>::handle h) |
6335 | | const |
6336 | 0 | { |
6337 | 0 | SCN_TRY_DISCARD(h.scan(parse_ctx, ctx)); |
6338 | 0 | return {ctx.begin()}; |
6339 | 0 | } Unexecuted instantiation: scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, char> >::handle) const Unexecuted instantiation: scn::v4::impl::custom_reader<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::operator()(scn::v4::basic_scan_arg<scn::v4::basic_scan_context<scn::v4::detail::buffer_range_tag, wchar_t> >::handle) const |
6340 | | |
6341 | | parse_context_type& parse_ctx; |
6342 | | context_type& ctx; |
6343 | | }; |
6344 | | } // namespace impl |
6345 | | |
6346 | | SCN_END_NAMESPACE |
6347 | | } // namespace scn |